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

[PornHD] ERROR: Unable to extract sources; #6305

Closed
mrthrowaway opened this issue Jul 20, 2015 · 1 comment
Closed

[PornHD] ERROR: Unable to extract sources; #6305

mrthrowaway opened this issue Jul 20, 2015 · 1 comment
Labels

Comments

@mrthrowaway
Copy link

@mrthrowaway mrthrowaway commented Jul 20, 2015

[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'http://www.pornhd.com/videos/4860/jenna-presley-is-a-horny-bombshell-hd-porn-video', u'--verbose']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.07.18
[debug] Git HEAD: 2fe1ff8
[debug] Python version 2.7.6 - Linux-3.13.0-58-generic-x86_64-with-Ubuntu-14.04-trusty
[debug] exe versions: avconv 9.18-6, avprobe 9.18-6, ffmpeg N-73632-g39a04eb, ffprobe N-73632-g39a04eb
[debug] Proxy map: {}
[PornHd] jenna-presley-is-a-horny-bombshell-hd-porn-video: Downloading webpage
ERROR: Unable to extract sources; 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 "/home/mrthrowaway/youtube-dl/youtube_dl/YoutubeDL.py", line 656, in extract_info
ie_result = ie.extract(url)
File "/home/mrthrowaway/youtube-dl/youtube_dl/extractor/common.py", line 275, in extract
return self._real_extract(url)
File "/home/mrthrowaway/youtube-dl/youtube_dl/extractor/pornhd.py", line 50, in _real_extract
webpage, 'sources')))
File "/home/mrthrowaway/youtube-dl/youtube_dl/extractor/common.py", line 557, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract sources; 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.


editing the regex to r"(?s)'sources'\s_:\s_({.+?})\s*[;,)]" seems to get it to work

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jun 17, 2016

Works fine with latest version.

@dstftw dstftw closed this Jun 17, 2016
@dstftw dstftw added the nsfw label Jun 17, 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
2 participants
You can’t perform that action at this time.