Remove unused imports
authorPhilipp Hagemeister <phihag@phihag.de>
Thu, 5 Dec 2013 13:31:54 +0000 (14:31 +0100)
committerPhilipp Hagemeister <phihag@phihag.de>
Thu, 5 Dec 2013 13:31:54 +0000 (14:31 +0100)
youtube_dl/extractor/smotri.py
youtube_dl/extractor/theplatform.py
youtube_dl/extractor/viddler.py
youtube_dl/extractor/yahoo.py
youtube_dl/utils.py

index f035a3214c60461ff2c35ee14faf159d4c6d44f5..5a28bc82084228c42d0e9982ce82dfad68f6dec2 100644 (file)
@@ -6,7 +6,6 @@ import hashlib
 
 from .common import InfoExtractor
 from ..utils import (
-    determine_ext,
     ExtractorError
 )
 
index 9206895116e7f1ff66eb9376ba2927adde98431a..61452e47d760cc76731f8e9bfbc319377cf84a25 100644 (file)
@@ -4,7 +4,6 @@ import json
 from .common import InfoExtractor
 from ..utils import (
     xpath_with_ns,
-    find_xpath_attr,
 )
 
 _x = lambda p: xpath_with_ns(p, {'smil': 'http://www.w3.org/2005/SMIL21/Language'})
index 138a35b2a05006255fdceb8b8be90fa9a0f6ee4d..9328ef4a2121f091c256e9324d0de0e8b7dcbecd 100644 (file)
@@ -2,9 +2,6 @@ import json
 import re
 
 from .common import InfoExtractor
-from ..utils import (
-    determine_ext,
-)
 
 
 class ViddlerIE(InfoExtractor):
index e457c4707a8feda7c3d0709c18671282b6da3814..5c9c361b9ee5658d307a7759040b855a3e794cf1 100644 (file)
@@ -47,7 +47,7 @@ class YahooIE(InfoExtractor):
         # The 'meta' field is not always in the video webpage, we request it
         # from another page
         long_id = info['id']
-        return self._get_info(info['id'], video_id)
+        return self._get_info(long_id, video_id)
 
     def _get_info(self, long_id, video_id):
         query = ('SELECT * FROM yahoo.media.video.streams WHERE id="%s"'
index c486ef8ecfef9772aaabdb3863a2814349a296b7..77609f7ca6ed3c887659f8f4bc01144073ae153e 100644 (file)
@@ -17,7 +17,6 @@ import ssl
 import socket
 import sys
 import traceback
-import xml.etree.ElementTree
 import zlib
 
 try: