1.0.6 • Published 2 years ago

social_media_downloader v1.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Social Media Downloader

This is a simple library in Node Js and Deno to download videos from social media websites. It supports TikTok, Twitter, Youtube, and SnapChat. if want any other social media website, please open an issue.          

Installing

npm install social_media_downloader

Importing in node js

const dl = require("social_media_downloader");

Using in node js

Tiktok

let link = "https://www.tiktok.com/@billieeilish/video/7014570556607433990"; // here put the link
(
    async () => {
        let result = await dl.tiktok(link); // The result is a json
        console.log(result);
    }
)();

Twitter

let link = "https://twitter.com/AJArabic/status/1476130879437037569"; // here put the link
(
    async () => {
        let result = await dl.twitter(link); // The result is a json
        console.log(result);
    }
)();

Youtube

let link = "https://www.youtube.com/watch?v=dQw4w9WgXcQ"; // here put the link
(
    async () => {
        let result = await dl.youtube(link); // The result is a json
        console.log(result);
    }
)();

SnapChat

let username = "hatanbado"; // here put the username
(
    async () => {
        const data = await dl.snapchat(username); // The result is a json
        console.log(data);
    }
)();

Importing in Deno

import * as dl from 'https://deno.land/x/social_media_downloader/mod.ts';

Using in Deno

Tiktok

const result = await dl.tiktok("https://www.tiktok.com/@billieeilish/video/7014570556607433990");
console.log(result);

Twitter

const result = await dl.twitter('https://twitter.com/AJArabic/status/1476130879437037569');
console.log(result);

Youtube

const result = await dl.youtube('https://www.youtube.com/watch?v=dQw4w9WgXcQ');
console.log(result);

Snapchat

const result = await dl.snapchat('username_HERE');
console.log(result);
1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.30

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.0

2 years ago