DavidBerdik / YouTube-Stream-Repeater

A lightweight server for repeating audio and video streams from YouTube.
Mozilla Public License 2.0
3 stars 5 forks source link

Sign in to confirm you’re not a bot. #7

Closed hoangmnsd closed 2 months ago

hoangmnsd commented 2 months ago

Hi,

It seems recently Youtube change some behavior to the API yt-dlp -j will not work on some machine.

$ yt-dlp -j ID
ERROR: [youtube] ID: Sign in to confirm you’re not a bot. This helps protect our community. Learn more
DavidBerdik commented 2 months ago

Hello!

Unfortunately, I don't really have the time to investigate this very much at the moment, but I did find this GitHub issue on the yt-dlp repo discussing it. YouTube Stream Repeater uses yt-dlp for managing its interactions with YouTube.

Are you trying to use YouTube Stream Repeater on a server that routes its traffic through a proxy or VPN or is the server running on a network shared by many users such as a college campus?

hoangmnsd commented 2 months ago

For anyone want to fix this issue, use this repo: https://github.com/coletdjnz/yt-dlp-youtube-oauth2

DavidBerdik commented 2 months ago

@hoangmnsd Thank you for sharing this!