From 4164f0117ece057a84e67df2239b7fdaa69e27a7 Mon Sep 17 00:00:00 2001 From: Philipp Hagemeister Date: Tue, 4 Nov 2014 23:51:01 +0100 Subject: [PATCH] [utils] Remove unused import --- youtube_dl/extractor/grooveshark.py | 7 ++++--- youtube_dl/utils.py | 1 - 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/youtube_dl/extractor/grooveshark.py b/youtube_dl/extractor/grooveshark.py index 726adff77..fff74a70a 100644 --- a/youtube_dl/extractor/grooveshark.py +++ b/youtube_dl/extractor/grooveshark.py @@ -8,12 +8,13 @@ import re from .common import InfoExtractor -from ..utils import ExtractorError, compat_urllib_request, compat_html_parser - -from ..utils import ( +from ..compat import ( + compat_html_parser, compat_urllib_parse, + compat_urllib_request, compat_urlparse, ) +from ..utils import ExtractorError class GroovesharkHtmlParser(compat_html_parser.HTMLParser): diff --git a/youtube_dl/utils.py b/youtube_dl/utils.py index 7c0fb1592..d87e212ae 100644 --- a/youtube_dl/utils.py +++ b/youtube_dl/utils.py @@ -34,7 +34,6 @@ from .compat import ( compat_chr, compat_getenv, compat_html_entities, - compat_html_parser, compat_parse_qs, compat_str, compat_urllib_error,