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.tv: Unable to extract json vp url #2935

Closed
f34739 opened this issue May 16, 2014 · 4 comments
Closed

arte.tv: Unable to extract json vp url #2935

f34739 opened this issue May 16, 2014 · 4 comments

Comments

@f34739
Copy link

@f34739 f34739 commented May 16, 2014

$ 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.

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented May 16, 2014

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?

@fcoiffie
Copy link

@fcoiffie fcoiffie commented Sep 4, 2014

I found the problem : the regex is too limited. It seems that " or ' are used around the arte_vp_url.
In my case, I get :

arte_vp_url='http://....'
@mart-e
Copy link
Contributor

@mart-e mart-e commented Sep 6, 2014

I believe it was fixed with #3676 at revision f2d9e3a

@fcoiffie
Copy link

@fcoiffie fcoiffie commented Sep 6, 2014

Yes, you're right. This issue can be closed.

@dstftw dstftw closed this Sep 6, 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
5 participants
You can’t perform that action at this time.