@warren-bank/browser-ytdl-core
v6.0.5-ybd-project.1
Published
Browser build for 'node-ytdl-core': YouTube video downloader in pure javascript
Downloads
509
Readme
browser-ytdl-core
Browser build for node-ytdl-core: YouTube video downloader in pure javascript
Build
npm run build
CDN
<script src="//cdn.jsdelivr.net/npm/@warren-bank/[email protected]/dist/es2020/ytdl-core.js"></script>
Usage
- run the client-side javascript library in a web browser
- examples:
- userscript
- domain:
youtube.com
- notes:
- Youtube API calls made by browser-ytdl-core succeed
- CORS is allowed
- domain:
- userscript with proxy
- domain:
example.com
- notes:
- uses the same proxy as the official demo
- this proxy injects HTTP response headers that allow CORS
- domain:
- userscript
- examples:
Legal
- license for node-ytdl-core is MIT
- license for browser-ytdl-core is GPL-2.0
- only covers the content of this repo, which contains primarily build scripts
- excludes the content of the
dist
directory, which contains code from node-ytdl-core