Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
[Q] Not available videos become available as soon as I proxy through the same machine #18456
Comments
|
Anything from geo restriction to mis-copy-pasted video id. |
|
@dstftw That was kinda too fast.
What kind of other details do you need? |
|
Unmodified verbose logs with |
|
@dstftw No proxy (non-working). With proxy (working) |
|
Does http://yt-dl.org/ip shows the same IPs? |
|
I am indeed getting different IPs. It turns out that connections through the proxy are done via IPv6 instead; |
|
Well, looking at first webpages from both runs it clearly seen that both cases are served with video-not-available webpage (video can't be watched in browser in both cases). But in case of IPv6 |
|
Alright, thanks. Let's see if something changes in the next days, I'll eventually report back here. What made me say I'm able to watch them in browser was an actual test I did by proxying my local machine through that server, and videos were playable. One more little question while we are at it: my application is actually embedding youtube-dl in a python script, so I would need to force IPv6 in there, but I couldn't find anything related to IPv6 nor IPv4 here. I tried |
|
It's |
|
Ouch, that was pretty hidden. It worked anyway, thanks. |
Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2018.12.03. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.Before submitting an issue make sure you have:
What is the purpose of your issue?
Description of your issue, suggested solution and other information
I'm getting
This video is not availableerrors for some videos lately using, for example:youtube-dl -F <video_id>.The weird thing is that the same video_ids work just fine if I use a proxy which is actually running on the same machine:
youtube-dl --proxy http://user:pass@localhost:1234 -F <video_id>I tried with
--rm-cache-dir, installed again, rebooted... Any other ideas?