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

youtube geo restriction video #8472

Closed
wdfsinap opened this issue Feb 9, 2016 · 5 comments
Closed

youtube geo restriction video #8472

wdfsinap opened this issue Feb 9, 2016 · 5 comments

Comments

@wdfsinap
Copy link

@wdfsinap wdfsinap commented Feb 9, 2016

I use your latest version of youtube-dl. but i can't download geo restriction video:

C:>youtube-dl -v http://www.youtube.com/watch?v=DDWKuo3gXMQ
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://www.youtube.com/watch?v=DDWKuo3gXMQ']
[debug] Encodings: locale cp936, fs mbcs, out cp936, pref cp936
[debug] youtube-dl version 2016.02.05
[debug] Python version 2.7.2 - Windows-post2008Server-6.2.9200
[debug] exe versions: none
[debug] Proxy map: {}
[youtube] DDWKuo3gXMQ: Downloading webpage
[youtube] DDWKuo3gXMQ: Downloading video info webpage
ERROR: DDWKuo3gXMQ: YouTube said: Unfortunately, this video is not available in your country because it could contain music, for which we could not agree on conditions of use with GEMA.
Traceback (most recent call last):
File "c:\python27\lib\site-packages\youtube_dl\YoutubeDL.py", line 666, in extract_info
ie_result = ie.extract(url)
File "c:\python27\lib\site-packages\youtube_dl\extractor\common.py", line 313, in extract
return self._real_extract(url)
File "c:\python27\lib\site-packages\youtube_dl\extractor\youtube.py", line 1160, in _real_extract
expected=True, video_id=video_id)
ExtractorError: DDWKuo3gXMQ: YouTube said: Unfortunately, this video is not available in your country because it could contain music, for which we could not agree on conditions of use with GEMA.

@anisse
Copy link
Contributor

@anisse anisse commented Feb 9, 2016

youtube-dl cannot bypass geo restrictions. Can you play the video in your browser ?

@wdfsinap
Copy link
Author

@wdfsinap wdfsinap commented Feb 9, 2016

I can't play the video in my browser. but i can play it with http://playit.pk/watch?v=DDWKuo3gXMQ
do you have any idea of how they did this?

@anisse
Copy link
Contributor

@anisse anisse commented Feb 9, 2016

playit.pk is a proxy. It seems it even provides a right click -> save video as (in Firefox).

If it's ok for you, could you close the issue?

@wdfsinap
Copy link
Author

@wdfsinap wdfsinap commented Feb 9, 2016

sorry, but i want to know how to proxy such geo restricted videos.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Feb 9, 2016

Use --proxy.

@dstftw dstftw closed this Feb 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.