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

[Triage] Downloads are no longer happening - yt-dlp now needs cookies #561

Closed
johnnybeckett opened this issue Jan 11, 2025 · 2 comments
Closed
Assignees
Labels

Comments

@johnnybeckett
Copy link

Describe the bug
Downloads are failing due to youtube requiring additional verification.

On inspection of the logs I was able to see that this is because of a verification requirement of youtube.

To Reproduce
leave to normal scheduled downloads, or attempt to force download from source

Expected behavior
There should be some way to pass the cookies to yt-dlp so that I can download videos (I can't find any documentation)

Screenshots
If applicable, add screenshots to help explain your problem.

Diagnostic info

pinchflat_1  | 2025-01-11 10:28:28.586 [info] | [command_wrapper]: /usr/local/bin/yt-dlp called with: https://www.youtube.com/watch?v=aDMd6BeReAI --simulate --skip-download --print-to-file %(.{live_status})j /tmp/pinchflat/data/a6/24/a624ec1524d001ac9f1c01cec099b2589ce413d8c9dc7cda11467a916addb383.json --windows-file
names --quiet --cache-dir /tmp/pinchflat/data/yt-dlp-cache
pinchflat_1  | 2025-01-11 10:28:34.030 [error] | [command_wrapper]: /usr/local/bin/yt-dlp called with: https://www.youtube.com/watch?v=aDMd6BeReAI --simulate --skip-download --print-to-file %(.{live_status})j /tmp/pinchflat/data/a6/24/a624ec1524d001ac9f1c01cec099b2589ce413d8c9dc7cda11467a916addb383.json --windows-fil
enames --quiet --cache-dir /tmp/pinchflat/data/yt-dlp-cache exited: 1 with: ERROR: [youtube] aDMd6BeReAI: Sign in to confirm your age. This video may be inappropriate for some users. Use --cookies-from-browser or --cookies for the authentication. See  https://github.com/yt-dlp/yt-dlp/wiki/FAQ#how-do-i-pass-cookies-to
-yt-dlp  for how to manually pass cookies. Also see  https://github.com/yt-dlp/yt-dlp/wiki/Extractors#exporting-youtube-cookies  for tips on effectively exporting YouTube cookies
pinchflat_1  | 
pinchflat_1  | 2025-01-11 10:28:34.030 [error] | yt-dlp download error for media item #2277: "ERROR: [youtube] aDMd6BeReAI: Sign in to confirm your age. This video may be inappropriate for some users. Use --cookies-from-browser or --cookies for the authentication. See  https://github.com/yt-dlp/yt-dlp/wiki/FAQ#how-do
-i-pass-cookies-to-yt-dlp  for how to manually pass cookies. Also see  https://github.com/yt-dlp/yt-dlp/wiki/Extractors#exporting-youtube-cookies  for tips on effectively exporting YouTube cookies\n"
pinchflat_1  | 2025-01-11 10:28:34.033 [info] | {"error":"** (Oban.PerformError) Pinchflat.Downloading.MediaDownloadWorker failed with {:error, :download_failed}","args":{"id":2277},"id":4536,"meta":{},"state":"failure","max_attempts":20,"queue":"media_fetching","worker":"Pinchflat.Downloading.MediaDownloadWorker","s

Additional context

Add any other context about the problem here.

@kieraneglin
Copy link
Owner

Hey there! Thanks for the report (:

I'm closing this issue because it's already captured by #549. There is some discussion there about what's going on as well as an attempt to fix it if you're willing to help me test!

@johnnybeckett
Copy link
Author

johnnybeckett commented Jan 12, 2025

I'm not getting throttled - this is probably a following issue from #549 as I need yt-dlp to re-use a browser sign-in
i.e. a requirement of somewhere to enter the cookies for it to use instead of continuously retrying and failing every index, which is my understanding of the #549 fix.

I'm being required to sign in to confirm an age verification:
Sign in to confirm your age

I tried testing, but I'm running on arm64, so the docker-compose pull fails:

# docker-compose pull                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
Pulling pinchflat ... pulling from kieraneglin/pinchflat                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
ERROR: for pinchflat  no matching manifest for linux/arm64/v8 in the manifest list entries                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
ERROR: no matching manifest for linux/arm64/v8 in the manifest list entries

I'm happy to help validate if there is an arm64 container available for me to run

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

No branches or pull requests

2 participants