projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7bbc642
)
[arte.tv:+7] Add one another one pattern for json vp url
author
Sergey M․
<dstftw@gmail.com>
Thu, 4 Sep 2014 13:44:51 +0000
(20:44 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Thu, 4 Sep 2014 13:44:51 +0000
(20:44 +0700)
youtube_dl/extractor/arte.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/arte.py
b/youtube_dl/extractor/arte.py
index 1c72b2ff6f5b4d5a6c01a4a0dfde2b2de6517e04..69ef88e0380678578aaeb87f424c43f1deccffec 100644
(file)
--- a/
youtube_dl/extractor/arte.py
+++ b/
youtube_dl/extractor/arte.py
@@
-78,7
+78,8
@@
class ArteTVPlus7IE(InfoExtractor):
def _extract_from_webpage(self, webpage, video_id, lang):
json_url = self._html_search_regex(
- r'arte_vp_url="(.*?)"', webpage, 'json vp url')
+ [r'arte_vp_url="(.*?)"', r'data-url="([^"]+)"'],
+ webpage, 'json vp url')
return self._extract_from_json_url(json_url, video_id, lang)
def _extract_from_json_url(self, json_url, video_id, lang):