Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/djdeveloperr/ytdl_core
YouTube Video Downloader module for Deno using Web Streams API.
https://github.com/djdeveloperr/ytdl_core
deno discord music typescript ytdl ytdl-core
Last synced: 2 months ago
JSON representation
YouTube Video Downloader module for Deno using Web Streams API.
- Host: GitHub
- URL: https://github.com/djdeveloperr/ytdl_core
- Owner: DjDeveloperr
- License: mit
- Created: 2021-05-05T10:13:44.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-06-30T14:38:52.000Z (over 1 year ago)
- Last Synced: 2024-05-23T00:16:11.203Z (7 months ago)
- Topics: deno, discord, music, typescript, ytdl, ytdl-core
- Language: TypeScript
- Homepage: https://deno.land/x/ytdl_core
- Size: 2.82 MB
- Stars: 34
- Watchers: 2
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ytdl_core
Deno port of [ytdl-core](https://www.npmjs.com/package/ytdl-core) using Web Streams API.
## Usage
```ts
import ytdl from "https://deno.land/x/ytdl_core/mod.ts";const stream = await ytdl("vRXZj0DzXIA");
const chunks: Uint8Array[] = [];
for await (const chunk of stream) {
chunks.push(chunk);
}const blob = new Blob(chunks);
await Deno.writeFile("video.mp4", new Uint8Array(await blob.arrayBuffer()));
```## License
Check [License](./LICENSE) for more info.
Copyright 2021 DjDeveloper, Copyright (C) 2012-present by fent