Skip to content

Browser build for 'node-ytdl-core': YouTube video downloader in pure javascript.

License

Notifications You must be signed in to change notification settings

warren-bank/browser-ytdl-core

Folders and files

NameName
Last commit message
Last commit date

Latest commit

35d7876 · Feb 2, 2025

History

12 Commits
Feb 2, 2025
Feb 2, 2025
Oct 12, 2024
Oct 10, 2024
Oct 10, 2024
Oct 10, 2024
Oct 12, 2024
Feb 2, 2025
Feb 2, 2025
Oct 10, 2024
Oct 10, 2024
Oct 10, 2024

Repository files navigation

Browser build for node-ytdl-core: YouTube video downloader in pure javascript

Build

npm install

npm run build

CDN

  <script src="//cdn.jsdelivr.net/npm/@warren-bank/browser-ytdl-core@4.14.4-distubejs.4/dist/es2020/ytdl-core.js"></script>

Usage

  1. run the client-side javascript library in a web browser
    • examples:
      1. userscript
        • domain: youtube.com
        • notes:
          • Youtube API calls made by browser-ytdl-core succeed
          • CORS is allowed
      2. 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

Legal

About

Browser build for 'node-ytdl-core': YouTube video downloader in pure javascript.

Resources

License

Stars

Watchers

Forks

Packages

No packages published