summary refs log tree commit diff
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-12-11 10:08:17 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2014-12-11 10:08:17 +0100
commit4bb4a18876f5489db77365528638da8d46890a38 (patch)
treee23fb1f238200c9b8c5dac16e33e1453da739c40
parenta81bbebf44b6f405fcb3959b3fc2d2dc03b3bb59 (diff)
downloadyoutube-dl-4bb4a18876f5489db77365528638da8d46890a38.tar.gz
youtube-dl-4bb4a18876f5489db77365528638da8d46890a38.tar.xz
youtube-dl-4bb4a18876f5489db77365528638da8d46890a38.zip
[youtube] Fix imports
-rw-r--r--youtube_dl/extractor/youtube.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py
index 42441d9fa..6216028cf 100644
--- a/youtube_dl/extractor/youtube.py
+++ b/youtube_dl/extractor/youtube.py
@@ -14,23 +14,24 @@ from .common import InfoExtractor, SearchInfoExtractor
 from .subtitles import SubtitlesInfoExtractor
 from ..jsinterp import JSInterpreter
 from ..swfinterp import SWFInterpreter
-from ..utils import (
+from ..compat import (
     compat_chr,
     compat_parse_qs,
     compat_urllib_parse,
     compat_urllib_request,
     compat_urlparse,
     compat_str,
-
+)
+from ..utils import (
     clean_html,
-    get_element_by_id,
-    get_element_by_attribute,
     ExtractorError,
+    get_element_by_attribute,
+    get_element_by_id,
     int_or_none,
     OnDemandPagedList,
+    orderedSet,
     unescapeHTML,
     unified_strdate,
-    orderedSet,
     uppercase_escape,
 )