From: Sergey M Date: Mon, 24 Feb 2014 16:44:31 +0000 (+0700) Subject: [generic] Unescape webpage contents X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=1f7659dbe90b28ecd5257aba872aba35515e6127;p=youtube-dl [generic] Unescape webpage contents --- diff --git a/youtube_dl/extractor/generic.py b/youtube_dl/extractor/generic.py index 6e6324779..a3de0ba60 100644 --- a/youtube_dl/extractor/generic.py +++ b/youtube_dl/extractor/generic.py @@ -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