Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
arte.tv: Unable to extract json vp url #2935
Comments
|
arte.tv videos are only available for 7 days after they are emitted, I can't play the video on their web and by its date (7th may) I think it won't be possible to watch it again. Can you play it? |
|
I found the problem : the regex is too limited. It seems that " or ' are used around the arte_vp_url.
|
|
Yes, you're right. This issue can be closed. |
$ youtube-dl --verbose http://www.arte.tv/guide/de/047541-000/art-war?autoplay=1
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://www.arte.tv/guide/de/047541-000/art-war?autoplay=1']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.05.16.1
[debug] Python version 2.7.6 - Darwin-11.4.2-x86_64-i386-64bit
[debug] Proxy map: {}
[arte.tv:+7] 047541-000: Downloading webpage
ERROR: Unable to extract json vp 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/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 516, in extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 163, in extract
return self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/arte.py", line 74, in _real_extract
return self._extract_from_webpage(webpage, video_id, lang)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/arte.py", line 78, in _extract_from_webpage
r'arte_vp_url="(.*?)"', webpage, 'json vp url')
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 389, in _html_search_regex
res = self._search_regex(pattern, string, name, default, fatal, flags)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 379, in _search_regex
raise RegexNotFoundError(u'Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract json vp 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.