Fix imports and general cleanup
[youtube-dl] / youtube_dl / extractor / niconico.py
index 1d9c1a096403e7e7b4f3835f31dbee31812594c9..4c18904169d3f69a0bf7e95fb21d98218bca7e91 100644 (file)
@@ -5,14 +5,16 @@ import re
 import json
 
 from .common import InfoExtractor
-from ..utils import (
+from ..compat import (
     compat_urllib_parse,
     compat_urllib_request,
     compat_urlparse,
-    unified_strdate,
-    parse_duration,
-    int_or_none,
+)
+from ..utils import (
     ExtractorError,
+    int_or_none,
+    parse_duration,
+    unified_strdate,
 )