[generic] Unescape webpage contents
[youtube-dl] / youtube_dl / extractor / generic.py
index 6e632477921c17bfd0dff837074b72d4ae83abed..a3de0ba60a8d8e33ebf89e8f2d768d338039b100 100644 (file)
@@ -291,6 +291,8 @@ class GenericIE(InfoExtractor):
         except compat_xml_parse_error:
             pass
 
+        webpage = compat_urllib_parse.unquote(webpage)
+
         # it's tempting to parse this further, but you would
         # have to take into account all the variations like
         #   Video Title - Site Name