mirror of
https://github.com/blackjack4494/yt-dlc.git
synced 2024-12-23 08:17:00 +00:00
[arte.tv:+7] Allow single quotes for json vp url regexes (Closes #3676)
This commit is contained in:
parent
16e6f396b4
commit
f2d9e3a370
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ class ArteTVPlus7IE(InfoExtractor):
|
||||||
|
|
||||||
def _extract_from_webpage(self, webpage, video_id, lang):
|
def _extract_from_webpage(self, webpage, video_id, lang):
|
||||||
json_url = self._html_search_regex(
|
json_url = self._html_search_regex(
|
||||||
[r'arte_vp_url="(.*?)"', r'data-url="([^"]+)"'],
|
[r'arte_vp_url=["\'](.*?)["\']', r'data-url=["\']([^"]+)["\']'],
|
||||||
webpage, 'json vp url')
|
webpage, 'json vp url')
|
||||||
return self._extract_from_json_url(json_url, video_id, lang)
|
return self._extract_from_json_url(json_url, video_id, lang)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue