A feature-rich command-line audio/video downloader
[compat] Import html5 entities correctly
Yen Chi Hsuan836ab0c554f1
diff --git a/youtube_dl/compat.py b/youtube_dl/compat.pyindex 0243949a44..67db1c7c65 100644--- a/youtube_dl/compat.py+++ b/youtube_dl/compat.py@@ -64,8 +64,8 @@ except ImportError: # Python 2import htmlentitydefs as compat_html_entitiestry: # Python >= 3.3- from compat_html_entities import html as compat_html_entities_html5-except ImportError:+ compat_html_entities_html5 = compat_html_entities.html5+except AttributeError:# Copied from CPython 3.5.1 html/entities.pycompat_html_entities_html5 = {'Aacute': '\xc1',