79323064

Date: 2025-01-02 07:45:35
Score: 0.5
Natty:
Report link

I spent hours debugging my code after ending up with the same error. Then, as I was running my script in headless mode, I didn't see how the Youtube page I was visiting for my test setup looked like. It turned out that since I was behind VPN, YouTube showed a different view for the video player with no buttons at all but only telling me to "sign in to prove I am not a bot."

I disabled the VPN, then YouTube no longer thought I was a bot, and everything worked again. I know this is not a solution to the problem, but I share it as one might bump into the same issue, although nothing is wrong with the code itself.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: cs.lev