mirror of
https://codeberg.org/polarisfm/youtube-dl.git
synced 2024-12-25 01:01:39 +00:00
[arte] differentiate JSON outputs
This commit is contained in:
parent
b9ba5dfa28
commit
88ce273da4
1 changed files with 2 additions and 1 deletions
|
@ -74,7 +74,8 @@ class ArteTVPlus7IE(InfoExtractor):
|
||||||
return self._extract_from_webpage(webpage, video_id, lang)
|
return self._extract_from_webpage(webpage, video_id, lang)
|
||||||
|
|
||||||
def _extract_from_webpage(self, webpage, video_id, lang):
|
def _extract_from_webpage(self, webpage, video_id, lang):
|
||||||
json_url = self._html_search_regex(r'arte_vp_url="(.*?)"', webpage, 'json url')
|
json_url = self._html_search_regex(
|
||||||
|
r'arte_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)
|
||||||
|
|
||||||
def _extract_from_json_url(self, json_url, video_id, lang):
|
def _extract_from_json_url(self, json_url, video_id, lang):
|
||||||
|
|
Loading…
Reference in a new issue