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
Trying to download certain Youtube videos through tor produces "Video not available" error in some cases. Might this be addressed from the yt-dlp side? #7110
Comments
Invidious URLs aren’t supported and are redirected to YouTube.
Are you sure? Do they work if you just use YouTube.com? |
(Please post a verbose log regarding my 2nd question) |
The issue here is the content is not available in the country of your TOR exit IP, so nothing we can feasibly do on the yt-dlp side. As gamer191 mentioned, invidious urls are translated to As for the 429, The TOR exit IP you are using is blocked from |
Are you sure? I've definitely accessed Youtube from tor before. Perhaps it's fingerprinting tor users?
Um, the fallbacks must be broken, since the log shows |
I think you're getting mixed up between the 429 on the webpage (the IP is blocked from YouTube) and the video availability itself on YouTube (likely due to geo restrictions) The 429s come and go and Tor has multiple exit IPs. It is irrelevant here since we use Innertuje API as a fallback to get the same data the webpage does when it fails. |
success -->
|
failure -->
|
This last one fails with the same output as the above failure, except for the URL being of Youtube rather than Invidious, obviously. |
@johnahnase um, both logs demonstrate identical failures |
right, I didn't realise that |
Whoops. Fixed. |
Is this without tor? |
Yes. I only use tor by including 'torsocks' at the start of the command. |
Then it's the tor endpoint being blocked by youtube. We can't actually extract from the onion site, only forwards it to youtube.com |
DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE
Checklist
Please make sure the question is worded well enough to be understood
Attempting to download certain videos on youtube through tor through Invidous .onion frontends persistently fails with the following message:
ERROR: [youtube] [whateverVideoID]: This video is not available
I have failed to download certain videos like this over the course of a couple of months or so. I've tested downloading some videos where this issue occurs without going through tor, and it has always worked.
So, I am wondering if this is a an issue that cannot be resolved as far as yt-dlp is concerned, or not.
Provide verbose output that clearly demonstrates the problem
yt-dlp -vU <your command line>
)'verbose': True
toYoutubeDL
params instead[debug] Command-line config
) and insert it belowComplete Verbose Output
The text was updated successfully, but these errors were encountered: