projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[extractor/generic] Add support for tvigle embeds
[youtube-dl]
/
youtube_dl
/
compat.py
diff --git
a/youtube_dl/compat.py
b/youtube_dl/compat.py
index 973bcd32074107f70c1b781e95b97ef34501b88f..f9529210dd955932eca837aa7022696470c557ed 100644
(file)
--- 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
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
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_getenv',
'compat_getpass',
'compat_html_entities',
- 'compat_html_parser',
'compat_http_client',
'compat_http_server',
'compat_kwargs',
'compat_http_client',
'compat_http_server',
'compat_kwargs',