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

Unable to extract media URL on supported site xhamster #6472

Closed
NyeMitchLee opened this issue Aug 6, 2015 · 2 comments
Closed

Unable to extract media URL on supported site xhamster #6472

NyeMitchLee opened this issue Aug 6, 2015 · 2 comments

Comments

@NyeMitchLee
Copy link

@NyeMitchLee NyeMitchLee commented Aug 6, 2015

I found youtube-dl wasn't working for xhamster. I then checked that the first test URL in xhamster.py is a working page, then tested it.

$ youtube-dl --verbose http://xhamster.com/movies/1509445/femaleagent_shy_beauty_takes_the_bait.html
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://xhamster.com/movies/1509445/femaleagent_shy_beauty_takes_the_bait.html']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.07.28
[debug] Python version 3.4.3 - Linux-4.1.3-1-ARCH-x86_64-with-arch
[debug] exe versions: ffmpeg 2.7.2, ffprobe 2.7.2, rtmpdump 2.4
[debug] Proxy map: {}
[XHamster] 1509445: Downloading webpage
WARNING: unable to extract thumbnail; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
ERROR: Unable to extract media URL; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/usr/lib/python3.4/site-packages/youtube_dl/YoutubeDL.py", line 656, in extract_info
    ie_result = ie.extract(url)
  File "/usr/lib/python3.4/site-packages/youtube_dl/extractor/common.py", line 279, in extract
    return self._real_extract(url)
  File "/usr/lib/python3.4/site-packages/youtube_dl/extractor/xhamster.py", line 100, in _real_extract
    video_url = extract_video_url(webpage)
  File "/usr/lib/python3.4/site-packages/youtube_dl/extractor/xhamster.py", line 52, in extract_video_url
    raise ExtractorError('Unable to extract media URL')
youtube_dl.utils.ExtractorError: Unable to extract media URL; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
@dstftw
Copy link
Collaborator

@dstftw dstftw commented Aug 6, 2015

This issue is already fixed and will be available in the next version of youtube-dl.

@dstftw dstftw closed this Aug 6, 2015
@NyeMitchLee
Copy link
Author

@NyeMitchLee NyeMitchLee commented Aug 6, 2015

Sorry for the repost of the issue, dstftw. I tried searching issues before posting and didn't find it. I see I mistakenly left "is:open" in my query.

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
2 participants
You can’t perform that action at this time.