X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=youtube_dl%2Fcompat.py;h=f9529210dd955932eca837aa7022696470c557ed;hb=2ddcd88129e633ead8c5faee6c930b66dddb1b32;hp=973bcd32074107f70c1b781e95b97ef34501b88f;hpb=d08225edf454dd28d0bc15d94b23d62c4deab7f4;p=youtube-dl diff --git a/youtube_dl/compat.py b/youtube_dl/compat.py index 973bcd320..f9529210d 100644 --- a/youtube_dl/compat.py +++ b/youtube_dl/compat.py @@ -46,11 +46,6 @@ try: except ImportError: # Python 2 import htmlentitydefs as compat_html_entities -try: - import html.parser as compat_html_parser -except ImportError: # Python 2 - import HTMLParser as compat_html_parser - try: import http.client as compat_http_client except ImportError: # Python 2 @@ -404,7 +399,6 @@ __all__ = [ 'compat_getenv', 'compat_getpass', 'compat_html_entities', - 'compat_html_parser', 'compat_http_client', 'compat_http_server', 'compat_kwargs',