# scraper-yt

> A Youtube Downloader for Provider Yt1s

Latest version **1.0.0** (published 2022-03-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install scraper-yt
pnpm add scraper-yt
yarn add scraper-yt
bun add scraper-yt
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2022-03-15 |
| First published | 2022-03-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 19.7 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | any |
| Maintainers | mel-api |
| Keywords | youtube, downloader |

## Links

- npm: https://www.npmjs.com/package/scraper-yt
- Repository: https://github.com/any/downloader
- Homepage: https://github.com/any/downloader#readme
- Issues: https://github.com/any/downloader/issues
- npm.io page: https://npm.io/package/scraper-yt

## Dependencies (1)

- [request](https://npm.io/package/request.md) ^2.88.2

## Recent versions

- 1.0.0 (latest) — 2022-03-15

## README

# ytdownloader.js
Youtube Downloader - https://yt1s.io

Importing the Module (TS)
```ts
import Youtube from 'ytdownloader.js'
```
Importing the Module (JS)
```ts
const Youtube = require('ytdownloader.js')
```
Search Videos
```ts
await new Youtube().ytsearch("LSD - Genius")
```




Search and Downloading Videos
```ts
// MP3
await new Youtube().ytmp3("LSD - Genius", true)

// MP4
await new Youtube().ytmp4("LSD - Genius", true)
```
Download via URL
```ts
// 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;
```

---
_Source: https://npm.io/package/scraper-yt · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
