diff options
author | Sergey M․ <dstftw@gmail.com> | 2014-09-05 01:17:16 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2014-09-05 01:17:16 +0700 |
commit | f2d9e3a370727a71b0ba8f5246c5cc3dab126dc8 (patch) | |
tree | 0801a81c47f493725189f9122830cfb2c12c1922 | |
parent | 16e6f396b45a99b2d52770fbb3eeea7c59dc53c6 (diff) |
[arte.tv:+7] Allow single quotes for json vp url regexes (Closes #3676)
-rw-r--r-- | youtube_dl/extractor/arte.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/arte.py b/youtube_dl/extractor/arte.py index 69ef88e03..957d35979 100644 --- a/youtube_dl/extractor/arte.py +++ b/youtube_dl/extractor/arte.py @@ -78,7 +78,7 @@ class ArteTVPlus7IE(InfoExtractor): def _extract_from_webpage(self, webpage, video_id, lang): json_url = self._html_search_regex( - [r'arte_vp_url="(.*?)"', r'data-url="([^"]+)"'], + [r'arte_vp_url=["\'](.*?)["\']', r'data-url=["\']([^"]+)["\']'], webpage, 'json vp url') return self._extract_from_json_url(json_url, video_id, lang) |