Remove unused imports
authorPhilipp Hagemeister <phihag@phihag.de>
Mon, 9 Dec 2013 03:53:23 +0000 (04:53 +0100)
committerPhilipp Hagemeister <phihag@phihag.de>
Mon, 9 Dec 2013 03:53:23 +0000 (04:53 +0100)
youtube_dl/YoutubeDL.py
youtube_dl/extractor/metacafe.py
youtube_dl/extractor/stanfordoc.py
youtube_dl/extractor/wimp.py

index 3fbbf3ba09f957c96b8178d01e7bfa7ac2c9df26..17b3827f26a6ad966a70d41896b7a9b782889c1b 100644 (file)
@@ -22,7 +22,6 @@ if os.name == 'nt':
 from .utils import (
     compat_cookiejar,
     compat_http_client,
-    compat_print,
     compat_str,
     compat_urllib_error,
     compat_urllib_request,
index bd044fb60220ed1664351172126ca499da806e1c..99d3c83a5e4c3a31d71e9f487e13930af498dc1f 100644 (file)
@@ -5,7 +5,6 @@ from ..utils import (
     compat_parse_qs,
     compat_urllib_parse,
     compat_urllib_request,
-    compat_str,
     determine_ext,
     ExtractorError,
 )
index d0d0989f09bd154451cf45c04acd451e47db23da..44c52c718e2090cca8f28c6542d67ae4585332e6 100644 (file)
@@ -2,8 +2,6 @@ import re
 
 from .common import InfoExtractor
 from ..utils import (
-    compat_str,
-
     ExtractorError,
     orderedSet,
     unescapeHTML,
index 3635691e7a15cbed6957cc7757138f3179c318f3..82a626e0eb866e4924f32f7809e33d59d9261168 100644 (file)
@@ -20,10 +20,9 @@ class WimpIE(InfoExtractor):
         mobj = re.match(self._VALID_URL, url)
         video_id = mobj.group(1)
         webpage = self._download_webpage(url, video_id)
-        title = self._html_search_meta('description', webpage, u'video title')
         googleString = self._search_regex("googleCode = '(.*?)'", webpage, 'file url')
         googleString = base64.b64decode(googleString).decode('ascii')
-        final_url = self._search_regex('","(.*?)"', googleString,'final video url')
+        final_url = self._search_regex('","(.*?)"', googleString, u'final video url')
 
         return {
             'id': video_id,