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.
[go] Fake IP not working (Go said: 6007:Unable to retrieve required files) #12355
Comments
|
Does it work with |
|
No. I'm not in US.
|
|
It's not supposed to work in all cases. It will only work if all checkpoints that verify geo location honor X-Forwarded-For header. |
|
What do you mean? It never works! |
|
Only with the free ones. To get the videos I have to use a very slow VPN, that gives me lags in the videos. But it works, so why can't you fix it?! |
|
In 8e1409f, @remitamine wrote:
Seems the bypass works for free videos only? By default X-Forward-For is always used in face of diff --git a/youtube_dl/extractor/go.py b/youtube_dl/extractor/go.py
index 4c9be47b4..30c666e67 100644
--- a/youtube_dl/extractor/go.py
+++ b/youtube_dl/extractor/go.py
@@ -101,6 +101,9 @@ class GoIE(AdobePassIE):
'token_type': 'ap',
'adobe_requestor_id': requestor_id,
})
+ # Explicitly disables X-Forward-For bypassing as it works
+ # for free videos only and may bring confusions (#12355)
+ self._GEO_BYPASS = False
else:
self._initialize_geo_bypass(['US'])
entitlement = self._download_json(
|
|
@RuneMagle I deleted your last comment as we don't want to spread illegal stuffs. |
|
Well, I wouldn't say it's illegal, just a...workaround... ;) |
|
Works just fine in the US, even without a login.
|
|
Yeah, I know. It works fine with me too, but I can only get it to work with very slow VPN. But it don't work with no VPN, because I'm in DK. I don't know how you get it without login though, because it's locked, and it doesn't work here.
|
What is the purpose of your issue?
If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):
Description of your my issue.
Fake IP not working. I can provide my TV credentials if needed.