aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2014-09-04 20:44:51 +0700
committerSergey M․ <dstftw@gmail.com>2014-09-04 20:44:51 +0700
commitc6ec6b2e8be0e70a5fcde44a2f0534b6833f8fe2 (patch)
tree57b45c12ef87f9e564ec7531f1a123a60bfd6565 /youtube_dl
parent7bbc6428b633cb48c277a86c0d7d0efaf7c1507f (diff)
[arte.tv:+7] Add one another one pattern for json vp url
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/arte.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube_dl/extractor/arte.py b/youtube_dl/extractor/arte.py
index 1c72b2ff6..69ef88e03 100644
--- 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):