mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-27 23:26:53 +01:00
[arte.tv:+7] Add one another one pattern for json vp url
This commit is contained in:
parent
7bbc6428b6
commit
c6ec6b2e8b
@ -78,7 +78,8 @@ def _real_extract(self, url):
|
||||
|
||||
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):
|
||||
|
Loading…
Reference in New Issue
Block a user