Socket
Socket
Sign inDemoInstall

nayan-media-downloader

Package Overview
Dependencies
6
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

nayan-media-downloader

Fetch Url Downloads From Instagram & Facebook & TikTok & YouTube & Twitter & Google Drive & Pintarest & likee & threads


Version published
Weekly downloads
3.9K
increased by4.16%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

Typing SVG

npm version version npm downloads js dilvr

Instalation :

> npm i nayan-media-downloader

Example (fb & insta)

const { ndown } = require("nayan-media-downloader")
let URL = await ndown("https://www.facebook.com/100000959749712/posts/pfbid0288xi44nvodK9d7r3wf4LHeM3dtEsVghQXmz5t59axwz7KdLStYyg4qfvTVrAL27Ll/?app=fbl")
console.log(URL)

Output Example

{
    "developer": "MOHAMMAD NAYAN",
    "devfb": "https://www.facebook.com/profile.php?id=100000959749712",
    "devwp": "wa.me/+8801615298449",
    "status": true,
    "data": [
        {
            "resolution": "720p (HD)",
            "thumbnail": "https://scontent-ber1-1.xx.fbcdn.net/v/t15.5256-10/400486200_1343033686353383_5174403316165836536_n.jpg?_nc_cat=108&ccb=1-7&_nc_sid=dd673f&_nc_ohc=2xRWTn71BMQAX8u2-qw&_nc_ht=scontent-ber1-1.xx&oh=00_AfCzw-5oUCmwmFGGT3_tmPTy0KTuYtmMD4--Ed1gZbXubg&oe=6586FB4E",
            "url": "https://video-ber1-1.xx.fbcdn.net/o1/v/t2/f1/m69/GHvmKhgZQAUkYJ4CAEY4Fvt4bWc6bmdjAAAF.mp4?efg=eyJ2ZW5jb2RlX3RhZyI6Im9lcF9oZCJ9&_nc_ht=video-ber1-1.xx.fbcdn.net&_nc_cat=103&strext=1&vs=44ce93d67fb1cb71&_nc_vs=HBksFQIYOnBhc3N0aHJvdWdoX2V2ZXJzdG9yZS9HSHZtS2hnWlFBVWtZSjRDQUVZNEZ2dDRiV2M2Ym1kakFBQUYVAALIAQAVAhg6cGFzc3Rocm91Z2hfZXZlcnN0b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3NpdmVfZW5jb2RpbmdzAA%3D%3D&ccb=9-4&oh=00_AfCZS1NarEnG6CaVCjJvCdaVWCRMpf381WpwqUubSjNM_Q&oe=65832C04&_nc_sid=1d576d&_nc_rid=544475056770190&_nc_store_type=1&dl=1",
            "shouldRender": false
        },
        {
            "resolution": "360p (SD)",
            "thumbnail": "https://scontent-ber1-1.xx.fbcdn.net/v/t15.5256-10/400486200_1343033686353383_5174403316165836536_n.jpg?_nc_cat=108&ccb=1-7&_nc_sid=dd673f&_nc_ohc=2xRWTn71BMQAX8u2-qw&_nc_ht=scontent-ber1-1.xx&oh=00_AfCzw-5oUCmwmFGGT3_tmPTy0KTuYtmMD4--Ed1gZbXubg&oe=6586FB4E",
            "url": "https://video-ber1-1.xx.fbcdn.net/v/t42.1790-2/404349742_877328270732084_8635412864009964753_n.mp4?_nc_cat=109&ccb=1-7&_nc_sid=55d0d3&efg=eyJybHIiOjMzMSwicmxhIjo4NTMsInZlbmNvZGVfdGFnIjoic3ZlX3NkIn0%3D&_nc_ohc=CiYYCEuMrVgAX-xk9HO&rl=331&vabr=184&_nc_ht=video-ber1-1.xx&oh=00_AfCl3XhkvJuI5ykViWS98MQ8TUp0HYuRfewCFQ81K9j80Q&oe=6586092D&dl=1",
            "shouldRender": false
        },
        {
            "resolution": "480p",
            "thumbnail": "https://scontent-ber1-1.xx.fbcdn.net/v/t15.5256-10/400486200_1343033686353383_5174403316165836536_n.jpg?_nc_cat=108&ccb=1-7&_nc_sid=dd673f&_nc_ohc=2xRWTn71BMQAX8u2-qw&_nc_ht=scontent-ber1-1.xx&oh=00_AfCzw-5oUCmwmFGGT3_tmPTy0KTuYtmMD4--Ed1gZbXubg&oe=6586FB4E",
            "url": "/render.php?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ2aWRlb191cmwiOiJodHRwczovL3ZpZGVvLWJlcjEtMS54eC5mYmNkbi5uZXQvdi90MzkuMjU0NDctMi80MDU0NjQ2OTlfNzM3MDg1NzExNzk0MjAxXzQyMDg0NTI3NDMxNzcwNTgzNzRfbi5tcDQ_X25jX2NhdD0xMDAmY2NiPTEtNyZfbmNfc2lkPTlhNWQ1MCZlZmc9ZXlKMlpXNWpiMlJsWDNSaFp5STZJbVJoYzJoZloyVnVNbWgzWW1GemFXTmZhSEV5WDJaeVlXZGZNbDkyYVdSbGJ5SjkmX25jX29oYz10ZTc3SElZVWNJc0FYXzV1eUJKJl9uY19odD12aWRlby1iZXIxLTEueHgmb2g9MDBfQWZCSnUwODBTT1pEM3NDUmYtZHBJRVpyQUc1VExoZjhqdE9GVngzSUtpVVRRZyZvZT02NTg2NkQ5QSIsImF1ZGlvX3VybCI6Imh0dHBzOi8vdmlkZW8tYmVyMS0xLnh4LmZiY2RuLm5ldC92L3Q1OC4xNjgwNy0yLzk5NzI3ODY2XzE0NDYyOTg1NTU5MjEzMjNfMTA1MDczODMwMzg0NTUwMDEwMV9uLm1wND9fbmNfY2F0PTEwMSZjY2I9MS03Jl9uY19zaWQ9OWE1ZDUwJmVmZz1leUoyWlc1amIyUmxYM1JoWnlJNkltUmhjMmhmYkc1ZmFHVmhZV05mTkRoZllYVmthVzhpZlElM0QlM0QmX25jX29oYz1YeFkwWVh6QU0xRUFYLUhzZWNyJl9uY19odD12aWRlby1iZXIxLTEueHgmb2g9MDBfQWZCVXk5U1VfRFhUYXBfMVJtYjdPUkhVTmhpSHJxNy12SlNIWWJuSi0tRFl1USZvZT02NTg1QUQ1OCIsImlkIjpudWxsLCJmaWxlbmFtZSI6IlNuYXBTYXZlX0FwcF9fNDgwcC5tcDQifQ.COR5xzqjXhLneqsiLOt8k6M2WJ4JSu3PyRQR-BIneJU",
            "shouldRender": true
        },
        {
            "resolution": "360p",
            "thumbnail": "https://scontent-ber1-1.xx.fbcdn.net/v/t15.5256-10/400486200_1343033686353383_5174403316165836536_n.jpg?_nc_cat=108&ccb=1-7&_nc_sid=dd673f&_nc_ohc=2xRWTn71BMQAX8u2-qw&_nc_ht=scontent-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U2F2ZV9BcHBfXzM2MHAubXA0In0.mTZkHQCoKkRJ88VxCNydIHUwZ5bhrjr58ExH-_s__lg",
            "shouldRender": true
        }
    ]
}

Example (TikTok)

const { tikdown } = require("nayan-media-downloader")
let URL = await tikdown("https://vt.tiktok.com/ZSNvs6h6o/")
console.log(URL)

Output Example (tikTok)

{
    "developer": "MOHAMMAD NAYAN",
    "devfb": "https://www.facebook.com/profile.php?id=100000959749712",
    "devwp": "wa.me/+8801615298449",
    "status": true,
    "data": {
        "author": {
            "id": "7021670496278447110",
            "unique_id": "rowdy__baby_212",
            "nickname": "Rasel_official_97⚡",
            "avatar": "https://p16-sign-sg.tiktokcdn.com/tos-alisg-avt-0068/d673e8357d05f3599741c7c974ec3e9a~c5_300x300.jpeg?lk3s=45126217&x-expires=1704636000&x-signature=z2SNWwaql50uUONx2NIzt8Pn8GY%3D"
        },
        "view": 59711,
        "comment": 628,
        "play": 345065,
        "share": 1728,
        "download": 7666,
        "duration": 19,
        "title": "Kokhono asuk💐🥹 #rowdy__baby212 ",
        "video": "https://v16m-default.akamaized.net/ad3c167bb8792b3693ecf372632b1ea2/6599b519/video/tos/alisg/tos-alisg-pve-0037c001/okyBYBAQ4wiBNE9UEPALXHEjZCIvGYWwL1iUb/?a=0&ch=0&cr=0&dr=0&lr=all&cd=0%7C0%7C0%7C0&cv=1&br=936&bt=468&bti=OUBzOTg7QGo6OjZAL3AjLTAzYCMxNDNg&cs=0&ds=6&ft=XE5bCqT0m7jPD12-NFzR3wUTV3yKMeF~O5&mime_type=video_mp4&qs=4&rc=ZzQzaDU3NWQzN2hlNmlkaUBpMzYzb3c5cnFncDMzODczNEAuLTI0L2A0XjUxYjVjL2A2YSNwYTNhMmRrYC5gLS1kMS1zcw%3D%3D&l=202401061416056062C3D543FE05F58BCB&btag=e00088000",
        "audio": "https://sf16-ies-music-sg.tiktokcdn.com/obj/tiktok-obj/7314645119033936642.mp3"
    }
}

Example (YouTube)

const { ytdown } = require("nayan-media-downloader")
let URL = await ytdown("https://youtu.be/aRSuyrZFu_Q?si=bsfzgeeGmRpsHqnF")
console.log(URL)

Output Example (youtube)

{
    "developer": "MOHAMMAD NAYAN",
    "devfb": "https://www.facebook.com/profile.php?id=100000959749712",
    "devwp": "wa.me/+8801615298449",
    "status": true,
    "data": {
        "title": "#black status#sad yt ariful#sad tiktok#short#2022🥀💔",
        "author": "SAD YT ARIFUL",
        "published": "vor 1 Jahr",
        "picture": "https://img.youtube.com/vi/XriHHLCGbFI/hqdefault.jpg",
        "video": "https://smvd-videos-downloader.ugo-code-studio.workers.dev/download?t=aHR0cHM6Ly9ycjMtLS1zbi1wNXFsc25kei5nb29nbGV2aWRlby5jb20vdmlkZW9wbGF5YmFjaz9leHBpcmU9MTcwNDU3MjU2OCZlaT1PR0taWmJHeklvUEk2ZHNQZzdDTzZBZyZpcD0yYTAyJTI1M0FjMjA2JTI1M0EzMDEyJTI1M0E5ODklMjUzQTE1MjElMjUzQTVjNjAlMjUzQTEwOGIlMjUzQWI5YzQmaWQ9by1BQ2E0RXJ5RGJQTTRRRjJmNUFlNnFZVlU0NTJtdUlVZGh6cmdvUlBxeVR3aSZpdGFnPTE4JnNvdXJjZT15b3V0dWJlJnJlcXVpcmVzc2w9eWVzJnhwYz1FZ1ZvMmFEU05RJTI1M0QlMjUzRCZtaD0tUiZtbT0zMSUyNTJDMjYmbW49c24tcDVxbHNuZHolMjUyQ3NuLWE1bWVrbjZsJm1zPWF1JTI1MkNvbnImbXY9dSZtdmk9MyZwbD01MSZzcGM9VVdGOWZ3TlJZQ1IyRFJORlNCUi12cC16S3BUR3RfWSZ2cHJ2PTEmc3ZwdWM9MSZtaW1lPXZpZGVvJTI1MkZtcDQmY25yPTE0JnJhdGVieXBhc3M9eWVzJmR1cj03LjQwNyZsbXQ9MTY5OTUzNjc5NTE5ODQ4NiZtdD0xNzA0NTUwMzg3JmZ2aXA9NCZmZXhwPTI0MDA3MjQ2JmM9QU5EUk9JRCZ0eHA9NjMxMDIyNCZzcGFyYW1zPWV4cGlyZSUyNTJDZWklMjUyQ2lwJTI1MkNpZCUyNTJDaXRhZyUyNTJDc291cmNlJTI1MkNyZXF1aXJlc3NsJTI1MkN4cGMlMjUyQ3NwYyUyNTJDdnBydiUyNTJDc3ZwdWMlMjUyQ21pbWUlMjUyQ2NuciUyNTJDcmF0ZWJ5cGFzcyUyNTJDZHVyJTI1MkNsbXQmc2lnPUFKZlFkU3N3UmdJaEFKM1I3dWt6VE5IM19wOWFaRnV2VHBpM2Vhc0FHdTVtc0JNVGxydGpJMEw2QWlFQXlUN2E1bnBjRld3OTVYUFNCOFRRV3ZOTTdzYkxtN01OblJ6Nll6LWtuaEElMjUzRCZsc3BhcmFtcz1taCUyNTJDbW0lMjUyQ21uJTI1MkNtcyUyNTJDbXYlMjUyQ212aSUyNTJDcGwmbHNpZz1BQU81VzRvd1JRSWhBTjNFS2M0Q0NWcC0zTzJVSFFpYWhEYlk3N0FzSVdxcnZqMEZFTU5OUzRma0FpQkFrbENURXNqeV9UNktaTDJQS2xHUnhjVW5neGFQN0JwZkU5a3k0TG9OWEElMjUzRCUyNTNEJmhvc3Q9cnIzLS0tc24tcDVxbHNuZHouZ29vZ2xldmlkZW8uY29t&filename=%23black+status%23sad+yt+ariful%23sad+tiktok%23short%232022%F0%9F%A5%80%F0%9F%92%94+%28smvd.app%29"
    }
}

Example (Twitter)

const { twitterdown } = require("nayan-media-downloader")
let URL = await twitterdown("https://twitter.com/TeamAbhiSha/status/1743351410761019794?t=vms8wxcU0mQuhVxwGCHjFw&s=19")
console.log(URL)

Output Example (Twitter)

{
    "developer": "MOHAMMAD NAYAN",
    "devfb": "https://www.facebook.com/profile.php?id=100000959749712",
    "devwp": "wa.me/+8801615298449",
    "status": true,
    "data": {
        "HD": "https://video.twimg.com/ext_tw_video/1743351351898181632/pu/vid/avc1/810x720/gKWI2KEyLdRMQBFa.mp4?tag=12",
        "SD": "https://video.twimg.com/ext_tw_video/1743351351898181632/pu/vid/avc1/404x360/dtDrE8AqyxXhoRhO.mp4?tag=12"
    }
}

Example Fbdown

const { fbdown } = require("nayan-media-downloader");
const request = require('request')

const key = "Nayan" //dont change key

const cookie = "cookie" //past your fb cookie here

const link = "url" //past video link

fbdown(link, cookie, key).then(data => {
  console.log(data)
});

Output Example (fbdown)

{
    "developer": "MOHAMMAD NAYAN",
    "devfb": "https://www.facebook.com/profile.php?id=100000959749712",
    "devwp": "wa.me/+8801615298449",
    "url": "https://www.facebook.com/saroj.dwivedi.7121/videos/691539259851175/?idorvanity=213813760197847",
    "thumbnail": "https://scontent.fkul8-4.fna.fbcdn.net/v/t15.5256-10/427275886_286050634275782_6523162309266122490_n.jpg?stp=dst-jpg_p960x960&_nc_cat=104&ccb=1-7&_nc_sid=dd673f&_nc_ohc=8gfhuR00MokAX9K7Xoa&_nc_ht=scontent.fkul8-4.fna&oh=00_AfA0TUr_aw2q146jhqW3Fs-Yd5z0C3O75Hthf7qdLbXKmg&oe=65DB995F",
    "status": true,
    "media": {
        "title": "The real master.\\ud83d\\ude06\\ud83d\\ude06",
        "hd": "https://video.fkul8-2.fna.fbcdn.net/o1/v/t2/f1/m69/GAflixlLP9JH0IMCAFfy-_verBcfbmdjAAAF.mp4?efg=eyJ2ZW5jb2RlX3RhZyI6Im9lcF9oZCJ9&_nc_ht=video.fkul8-2.fna.fbcdn.net&_nc_cat=108&strext=1&vs=2b8b34f9bdb1e75e&_nc_vs=HBksFQIYOnBhc3N0aHJvdWdoX2V2ZXJzdG9yZS9HQWZsaXhsTFA5SkgwSU1DQUZmeS1fdmVyQmNmYm1kakFBQUYVAALIAQAVAhg6cGFzc3Rocm91Z2hfZXZlcnN0b3JlL0dHWGZneG1QTTZMaXltTUJBSFh5aVVpaEdyRkxidjRHQUFBRhUCAsgBAEsHiBJwcm9ncmVzc2l2ZV9yZWNpcGUBMQ1zdWJzYW1wbGVfZnBzABB2bWFmX2VuYWJsZV9uc3ViACBtZWFzdXJlX29yaWdpbmFsX3Jlc29sdXRpb25fc3Npb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4?_nc_cat=101&ccb=1-7&_nc_sid=55d0d3&efg=eyJybHIiOjQ1MywicmxhIjo1MTIsInZlbmNvZGVfdGFnIjoic3ZlX3NkIn0%3D&_nc_ohc=9ONnrxW_k8gAX-iSMM2&rl=453&vabr=252&_nc_ht=video.fkul8-1.fna&oh=00_AfBkjxUy6GrISzoJfBZEu2RwLa-CLwv5q2tc2Iyc2SjBPw&oe=65DC3B6C"
    },
    "audio": "https://video.fkul8-2.fna.fbcdn.net/v/t39.25447-2/428621206_935765774852656_1505609703629717781_n.mp4?_nc_cat=110&ccb=1-7&_nc_sid=9a5d50&efg=eyJ2ZW5jb2RlX3RhZyI6ImRhc2hfYXVkaW9fYWFjcF80OF9mbm9ybTE0X2ZyYWdfMl9hdWRpbyJ9&_nc_ohc=ZoKNtZHq6VUAX_r1QSE&_nc_ht=video.fkul8-2.fna&oh=00_AfAQ7FB2SUPfXGO-2yfIYWhQme4WTkD--g2mZ2anaVmS3A&oe=65DC7873"
}

Example Fbdown2

const { fbdown2 } = require("nayan-media-downloader");
const request = require('request')

const key = "Nayan" //dont change key

const link = "url" //past video link

fbdown2(link, key).then(data => {
  console.log(data)
});

Output Example (fbdown2)

{
    "developer": "MOHAMMAD NAYAN",
    "devfb": "https://www.facebook.com/profile.php?id=100000959749712",
    "devwp": "wa.me/+8801615298449",
    "status": true,
    "media": {
               title: video title,
                hd: Hd video link,
                sd: normal video link
              }
}
const {GDLink} = require("nayan-media-downloader");

const url = 'url' // Public Google Drive Url

GDLink(url).then(data => {
  console.log(data)

});

Usage Pintarest

const {pintarest} = require("nayan-media-downloader");

const url = 'url' // pintarest post url

  pintarest(url).then(data => {
  console.log(data)
    });

Usage Pintarest

const {pintarest} = require("nayan-media-downloader");

const url = 'url' // pintarest post url

  pintarest(url).then(data => {
  console.log(data)
    });

Usage CapCut

const { capcut } = require("nayan-media-downloader");

const url = "link" // capcut link

capcut(url).then(data => {
  console.log(data)
});

Usage Likee

const { likee} = require("nayan-media-downloader");

 const url = "link" // past url
likee(url).then(data => { 
  console.log(data) 
});

Usage Threads

const { threads } = require("nayan-media-downloader");

 const url = "link" // past url
threads(url).then(data => { 
  console.log(data) 
});

Usage All Media Down

support url: facebook, tiktok, twitter, instagram, youtube, pinterest, gdrive, capcut, likee, threads
note: Let me know if any of the platforms you use are missing
const {alldown} = require("nayan-media-downloader");
const url = 'url' // past url

  alldown(url).then(data => {
  console.log(data)
    });

Output Example (alldown)

{
    "developer": "MOHAMMAD NAYAN",
    "devfb": "https://www.facebook.com/profile.php?id=100000959749712",
    "devwp": "wa.me/+8801615298449",
    "status": true,
    "media": {
        "title": "video title",
        "low": "normal video link",
        "high": "hd video link"
    }
}

WhatsApp Facebook Messenger Github

Keywords

FAQs

Last updated on 17 Jul 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc