Open eevvoor opened 3 years ago
Do you know how does youtube-dl evade geo-blocking? At least in Areena's case, the server checks that the IP is Finnish and refuses to respond if it isn't, and the only way to get a Finnish IP address is to have VPN or a proxy machine in Finland.
Youtube-dl's easiest way is to use the X-Forwarded-For
header. That is what the --geo-bypass
does. Easy, since as a user you do not have to provide anything than this option. Youtube-dl provides also an option for proxying but then you need to provide a proxy on the CLI.
I can access all geo-blocked content on YLE via manipulating the X-Forwarded-For
header in my browser. Thus, the easy way would work if it is implemented. I am available for testing / coding if you give me some hints.
Furthermore I am the perfect test since I live in a yle-geoblocked region :laughing:.
Why have you closed this issue? @aajanki En ymmärrä miks ... :-( siksi mä ei oo Suomess mutta haluaisin katsoa yle.
Umm, this issue is still open. Maybe you confused this with the linked issue on the youtube-dl repo, which is closed.
Geo-blocking avoidance would be a nice feature but I probably don't have time to work on it any time soon. I'm happy to merge it if someone else implements it.
Ok I try to find time. Thank you.
The geo-restrictions are now partially bypassed thanks to @IHeartGaming . Many streams can now be downloaded outside Finland but there are still some restrictions, at least live TV streams won't work.
What's the command to bypass geo-restrictions? I'm Swedish and trying to download this: Tina Turner: Barcelona 1990
Thx in advance.
edit: kirjoitin englanniksi, koska suomeni on todella huono, toivottavasti se on ok.
@deroverda, yle-dl should automatically bypass the geo-restriction, no need to alter the command.
What kind of error message do you see?
As far as I understood, yle-dl does not support global acces to geo-blocked pages. It would be possible to implement it the way youtube-dl does it with its option
--geo-bypass
.