Remove unused imports
authorPhilipp Hagemeister <phihag@phihag.de>
Sun, 26 Oct 2014 22:13:42 +0000 (23:13 +0100)
committerPhilipp Hagemeister <phihag@phihag.de>
Sun, 26 Oct 2014 22:13:42 +0000 (23:13 +0100)
youtube_dl/extractor/audiomack.py
youtube_dl/extractor/br.py
youtube_dl/extractor/cliphunter.py
youtube_dl/extractor/faz.py
youtube_dl/extractor/nhl.py
youtube_dl/extractor/sportbox.py
youtube_dl/extractor/vimeo.py
youtube_dl/postprocessor/ffmpeg.py

index 57446fddd8b92a086c9216a39bb295f4fc62ff01..6232d2cd041b7db63b4880f5d983980af65f8a65 100644 (file)
@@ -4,7 +4,7 @@ from __future__ import unicode_literals
 from .common import InfoExtractor
 from .soundcloud import SoundcloudIE
 from ..utils import ExtractorError
-import datetime
+
 import time
 
 
index 2e277c8c3c28af872750bc8108db56b1382fd992..45ba5173246575ab617dbab911280b75d61d61e8 100644 (file)
@@ -1,8 +1,6 @@
 # coding: utf-8
 from __future__ import unicode_literals
 
-import re
-
 from .common import InfoExtractor
 from ..utils import (
     ExtractorError,
index d4227e6ebb51244018d24da87927c54061058dc8..2edab90a33d553225b8c790b8d391f0e40b55cf8 100644 (file)
@@ -4,7 +4,6 @@ import json
 import re
 
 from .common import InfoExtractor
-from ..utils import int_or_none
 
 
 _translation_table = {
@@ -39,9 +38,7 @@ class CliphunterIE(InfoExtractor):
     }
 
     def _real_extract(self, url):
-        mobj = re.match(self._VALID_URL, url)
-        video_id = mobj.group('id')
-
+        video_id = self._match_id(url)
         webpage = self._download_webpage(url, video_id)
 
         video_title = self._search_regex(
index f3d45b2be27b63fcc27b40bea2ae4530f233fe51..3c39ca451a38e69a822968911e758847657380e9 100644 (file)
@@ -2,9 +2,6 @@
 from __future__ import unicode_literals
 
 from .common import InfoExtractor
-from ..utils import (
-    determine_ext,
-)
 
 
 class FazIE(InfoExtractor):
index d66c2c6f833852a0143cda250f724222c69207d5..82af6e33098eaa9018c6f58b93b4e8b4c9cff399 100644 (file)
@@ -7,7 +7,6 @@ from .common import InfoExtractor
 from ..utils import (
     compat_urlparse,
     compat_urllib_parse,
-    determine_ext,
     unified_strdate,
 )
 
index b9cd35109158a31fa238c5d07a942008b36c0750..becdf658f6e0ce8b209dffc0ce4c96a2857099dc 100644 (file)
@@ -7,7 +7,6 @@ from .common import InfoExtractor
 from ..utils import (
     parse_duration,
     parse_iso8601,
-    int_or_none,
 )
 
 
index 07959d3fe0e4b75a0b58d3605560c2ed450e9ba6..5839c550da73fe8241a12349c8636b0cb7cba6b5 100644 (file)
@@ -8,13 +8,11 @@ import itertools
 from .common import InfoExtractor
 from .subtitles import SubtitlesInfoExtractor
 from ..utils import (
-    clean_html,
     compat_HTTPError,
     compat_urllib_parse,
     compat_urllib_request,
     compat_urlparse,
     ExtractorError,
-    get_element_by_attribute,
     InAdvancePagedList,
     int_or_none,
     RegexNotFoundError,
index 4963ffc92d6bc12ccae1ff7741722974e8e9774f..083c79592b54f069cc25512017260f10882fb76b 100644 (file)
@@ -8,7 +8,6 @@ import time
 from .common import AudioConversionError, PostProcessor
 
 from ..utils import (
-    check_executable,
     compat_subprocess_get_DEVNULL,
     encodeArgument,
     encodeFilename,