mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-30 22:25:19 +00:00 
			
		
		
		
	Remove unused imports
This commit is contained in:
		| @@ -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 | ||||
|  | ||||
|  | ||||
|   | ||||
| @@ -1,8 +1,6 @@ | ||||
| # coding: utf-8 | ||||
| from __future__ import unicode_literals | ||||
|  | ||||
| import re | ||||
|  | ||||
| from .common import InfoExtractor | ||||
| from ..utils import ( | ||||
|     ExtractorError, | ||||
|   | ||||
| @@ -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( | ||||
|   | ||||
| @@ -2,9 +2,6 @@ | ||||
| from __future__ import unicode_literals | ||||
|  | ||||
| from .common import InfoExtractor | ||||
| from ..utils import ( | ||||
|     determine_ext, | ||||
| ) | ||||
|  | ||||
|  | ||||
| class FazIE(InfoExtractor): | ||||
|   | ||||
| @@ -7,7 +7,6 @@ from .common import InfoExtractor | ||||
| from ..utils import ( | ||||
|     compat_urlparse, | ||||
|     compat_urllib_parse, | ||||
|     determine_ext, | ||||
|     unified_strdate, | ||||
| ) | ||||
|  | ||||
|   | ||||
| @@ -7,7 +7,6 @@ from .common import InfoExtractor | ||||
| from ..utils import ( | ||||
|     parse_duration, | ||||
|     parse_iso8601, | ||||
|     int_or_none, | ||||
| ) | ||||
|  | ||||
|  | ||||
|   | ||||
| @@ -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, | ||||
|   | ||||
| @@ -8,7 +8,6 @@ import time | ||||
| from .common import AudioConversionError, PostProcessor | ||||
|  | ||||
| from ..utils import ( | ||||
|     check_executable, | ||||
|     compat_subprocess_get_DEVNULL, | ||||
|     encodeArgument, | ||||
|     encodeFilename, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Philipp Hagemeister
					Philipp Hagemeister