[arte] differentiate JSON outputs
authorPhilipp Hagemeister <phihag@phihag.de>
Mon, 21 Apr 2014 05:59:16 +0000 (07:59 +0200)
committerPhilipp Hagemeister <phihag@phihag.de>
Mon, 21 Apr 2014 05:59:16 +0000 (07:59 +0200)
youtube_dl/extractor/arte.py

index 646377e4b0f16c9b3628987b51c3ff530c12b297..2abdd50290cd6deb649d9785931e67131ba37a67 100644 (file)
@@ -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):