Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: [youtube] : Sign in to confirm you’re not a bot. #348

Open
YifanXu74 opened this issue Jul 10, 2024 · 3 comments
Open

ERROR: [youtube] : Sign in to confirm you’re not a bot. #348

YifanXu74 opened this issue Jul 10, 2024 · 3 comments

Comments

@YifanXu74
Copy link

I recently tried downloading the dataset, but it comes out such error:

ERROR: [youtube] ---LyFa59Go: Sign in to confirm you’re not a bot. This helps protect our community

It seems that YouTube has updated some policies to block web crawlers using yt-dlp. I tried to address the problem using a solution here, but but soon hit the request limit and was blocked again, see:

[youtube+oauth2] -2WrOGUnUHM: You’ve hit the request limit.. Your limits will reset soon, usually within an hour.

This dataset is important for my research. I'd appreciate any clues or solutions on this problem!

@YifanXu74 YifanXu74 changed the title ERROR: [youtube] : Sign in to confirm you’re not a bot. This helps protect our community ERROR: [youtube] : Sign in to confirm you’re not a bot. Jul 10, 2024
@markus583
Copy link

+1

@jwu-sym
Copy link

jwu-sym commented Sep 1, 2024

I signed in to confirm I am not a bot. It looked working.
Steps :

  1. My yt-dlp was installed in a linux server box, no GUI.
  2. Install a docker with GUI on the same box, I used "docker run -p 6080:80 -v /dev/shm:/dev/shm dorowu/ubuntu-desktop-lxde-vnc"
  3. Visit http://docker-server:6080, spawn a firefox and sign in to YouTube
  4. Transfer .mozilla directory from docker root directory to yt-dlp box. that runs yt-dlp
  5. alias yt-dlp='yt-dlp --cookies-from-browser firefox'
    It runs properly. Your mile might differ. The idea is 'Sign in'.

@SuhatAkbulak
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants