Explorar o código

[arte] differentiate JSON outputs

Philipp Hagemeister %!s(int64=11) %!d(string=hai) anos
pai
achega
88ce273da4
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      youtube_dl/extractor/arte.py

+ 2 - 1
youtube_dl/extractor/arte.py

@@ -74,7 +74,8 @@ class ArteTVPlus7IE(InfoExtractor):
         return self._extract_from_webpage(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)
 
     def _extract_from_json_url(self, json_url, video_id, lang):