Closed azihassan closed 1 month ago
Looks like youtube is blocking requests from Github. Running curl -Lo test.html --user-agent 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.3' https://www.youtube.com/watch\?v\=R85MK830mMo
in my machine results in a working test.html file, whereas running it from Github results in a file that contains LOGIN_REQUIRED
and a message asking me to login to prove that I'm not a bot.
{"playabilityStatus":{"status":"LOGIN_REQUIRED","reason":"Sign in to confirm you’re not a bot"},...}
I disabled the flakey tests for now seeing as I'm still able to use youtube-d correctly on my machine. Will reopen if needed
https://github.com/azihassan/youtube-d/actions/runs/10425351210/job/28876083685
The reason for failure is as follows: