]> gitweb @ CieloNegro.org - youtube-dl.git/blobdiff - youtube_dl/extractor/arte.py
we don't need to run ffmpeg more times
[youtube-dl.git] / youtube_dl / extractor / arte.py
index 2a123880e62c4154d9772ded5fb6775de50509e2..646377e4b0f16c9b3628987b51c3ff530c12b297 100644 (file)
@@ -2,7 +2,6 @@
 from __future__ import unicode_literals
 
 import re
-import json
 
 from .common import InfoExtractor
 from ..utils import (
@@ -26,8 +25,8 @@ class ArteTvIE(InfoExtractor):
 
     def _real_extract(self, url):
         mobj = re.match(self._VALID_URL, url)
-        video_id = mobj.group('id')
         lang = mobj.group('lang')
+        video_id = mobj.group('id')
 
         ref_xml_url = url.replace('/videos/', '/do_delegate/videos/')
         ref_xml_url = ref_xml_url.replace('.html', ',view,asPlayerXml.xml')