]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - youtube_dl/extractor/sina.py
Use canonical URL in Vcs-Git.
[youtubedl] / youtube_dl / extractor / sina.py
index 8fc66732af70f4db5305fdc891c5142afd5c97c7..07b766b4a756f67d855ede90ebf72f0997da7e1d 100644 (file)
@@ -64,7 +64,7 @@ class SinaIE(InfoExtractor):
                 # The video id is in the redirected url
                 self.to_screen('Getting video id')
                 request = HEADRequest(url)
                 # The video id is in the redirected url
                 self.to_screen('Getting video id')
                 request = HEADRequest(url)
-                (_, urlh) = self._download_webpage_handle(request, 'NA', False)
+                _, urlh = self._download_webpage_handle(request, 'NA', False)
                 return self._real_extract(urlh.geturl())
             else:
                 pseudo_id = mobj.group('pseudo_id')
                 return self._real_extract(urlh.geturl())
             else:
                 pseudo_id = mobj.group('pseudo_id')