Browser build for node-ytdl-core: YouTube video downloader in pure javascript
npm install
npm run build
<script src="//cdn.jsdelivr.net/npm/@warren-bank/browser-ytdl-core@4.14.4-distubejs.4/dist/es2020/ytdl-core.js"></script>
- 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 "cors-anywhere" proxy
- domain:
example.com
- notes:
- usage of the "cors-anywhere" demo server first requires user interaction
- visit the site to click a button
- this adds the requesting IP to a whitelist, and grants access for a limited period of time
- this proxy injects HTTP response headers that allow CORS
- usage of the "cors-anywhere" demo server first requires user interaction
- domain:
- userscript
- examples:
- 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