From 1f7659dbe90b28ecd5257aba872aba35515e6127 Mon Sep 17 00:00:00 2001 From: Sergey M Date: Mon, 24 Feb 2014 23:44:31 +0700 Subject: [PATCH] [generic] Unescape webpage contents --- youtube_dl/extractor/generic.py | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.22.2