[generic] Unescape webpage contents
authorSergey M <dstftw@gmail.com>
Mon, 24 Feb 2014 16:44:31 +0000 (23:44 +0700)
committerSergey M․ <dstftw@gmail.com>
Fri, 14 Mar 2014 21:21:17 +0000 (04:21 +0700)
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