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

[arte +7] Unable to extract json url (RegexNotFoundError) #2772

Closed
ebousse opened this issue Apr 19, 2014 · 2 comments
Closed

[arte +7] Unable to extract json url (RegexNotFoundError) #2772

ebousse opened this issue Apr 19, 2014 · 2 comments

Comments

@ebousse
Copy link

@ebousse ebousse commented Apr 19, 2014

Hello!

The arte extractor usually works perfectly for arte+7 videos, but it seems that something is not working anymore. Here is what happens for me:

$ youtube-dl --verbose http://www.arte.tv/guide/fr/044074-008/x-enius
[debug] System config: ['--prefer-free-formats']
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://www.arte.tv/guide/fr/044074-008/x-enius']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.04.13
[debug] Python version 2.7.5 - Linux-3.13.9-200.fc20.x86_64-x86_64-with-fedora-20-Heisenbug
[debug] Proxy map: {}
[arte.tv:+7] 044074-008: Downloading webpage
ERROR: Unable to extract json url; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type  youtube-dl -U  to update.
Traceback (most recent call last):
  File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 514, in extract_info
    ie_result = ie.extract(url)
  File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 161, in extract
    return self._real_extract(url)
  File "/usr/bin/youtube-dl/youtube_dl/extractor/arte.py", line 74, in _real_extract
    return self._extract_from_webpage(webpage, video_id, lang)
  File "/usr/bin/youtube-dl/youtube_dl/extractor/arte.py", line 77, in _extract_from_webpage
    json_url = self._html_search_regex(r'arte_vp_url="(.*?)"', webpage, 'json url')
  File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 383, in _html_search_regex
    res = self._search_regex(pattern, string, name, default, fatal, flags)
  File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 373, in _search_regex
    raise RegexNotFoundError(u'Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract json url; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type  youtube-dl -U  to update.

Thanks for all the hard work btw.

@phihag
Copy link
Contributor

@phihag phihag commented Apr 21, 2014

Sorry, I cannot find a video on that site. Can you point out how to see a video in that webpage?

@ebousse
Copy link
Author

@ebousse ebousse commented Apr 22, 2014

My mistake... I really thought that there was a video there, but I guess I was a bit tired...

Sorry for the false positive :(. I'll be more careful.

@ebousse ebousse closed this Apr 22, 2014
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.