Skip to content
This repository has been archived by the owner on Dec 7, 2024. It is now read-only.

viniciusgdr/ytdownloader.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ytdownloader.js

Youtube Downloader - https://yt1s.io

Importing the Module (TS)

import Youtube from 'ytdownloader.js'

Importing the Module (JS)

const Youtube = require('ytdownloader.js')

Search Videos

await new Youtube().ytsearch("LSD - Genius")

Search and Downloading Videos

// MP3
await new Youtube().ytmp3("LSD - Genius", true)

// MP4
await new Youtube().ytmp4("LSD - Genius", true)

Download via URL

// MP3
await new Youtube().ytmp3("https://www.youtube.com/watch?v=iX66G5DzIQ4", false)

// MP4
await new Youtube().ytmp4("https://www.youtube.com/watch?v=iX66G5DzIQ4", false)

Response:

dl_link: string;
thumbnail: string;
title: string;
quality: string;
qualitys: string[];
url: string;
channel: string;
needSearch: boolean;

Releases

No releases published

Packages

No packages published