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

nytimes.com video: Unable to extract video id #6676

Open
cjfsyntropy opened this issue Aug 26, 2015 · 0 comments
Open

nytimes.com video: Unable to extract video id #6676

cjfsyntropy opened this issue Aug 26, 2015 · 0 comments

Comments

@cjfsyntropy
Copy link

@cjfsyntropy cjfsyntropy commented Aug 26, 2015

This command fails:

$ youtube-dl --verbose http://www.nytimes.com/interactive/2015/08/25/arts/music/justin-bieber-diplo-skrillex-make-a-hit-song.html
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'--verbose', u'http://www.nytimes.com/interactive/2015/08/25/arts/music/justin-bieber-diplo-skrillex-make-a-hit-song.html']
[debug] Encodings: locale ISO-8859-1, fs ISO-8859-1, out ISO-8859-1, pref ISO-8859-1
[debug] youtube-dl version 2015.08.23
[debug] Python version 2.7.9 - Linux-3.16.0-4-686-pae-i686-with-debian-8.1
[debug] exe versions: avconv 11.4-6, avprobe 11.4-6, ffmpeg 0.8.17-6, rtmpdump 2.4
[debug] Proxy map: {}
[NYTimesArticle] justin-bieber-diplo-skrillex-make-a-hit-song: Downloading webpage
ERROR: Unable to extract video id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/home/cjf/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 655, in extract_info
    ie_result = ie.extract(url)
  File "/home/cjf/bin/youtube-dl/youtube_dl/extractor/common.py", line 287, in extract
    return self._real_extract(url)
  File "/home/cjf/bin/youtube-dl/youtube_dl/extractor/nytimes.py", line 115, in _real_extract
    video_id = self._html_search_regex(r'data-videoid="(\d+)"', webpage, 'video id')
  File "/home/cjf/bin/youtube-dl/youtube_dl/extractor/common.py", line 578, in _html_search_regex
    res = self._search_regex(pattern, string, name, default, fatal, flags, group)
  File "/home/cjf/bin/youtube-dl/youtube_dl/extractor/common.py", line 569, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract video id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
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
1 participant
You can’t perform that action at this time.