aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M <dstftw@gmail.com>2014-02-24 23:44:31 +0700
committerSergey M․ <dstftw@gmail.com>2014-03-15 04:21:17 +0700
commit1f7659dbe90b28ecd5257aba872aba35515e6127 (patch)
tree7e7192e25d58a34dcfe2f258e763d65eeddd9510
parentf1cef7a9ffcf92781e8ee81934a1bf985aefdbca (diff)
[generic] Unescape webpage contents
-rw-r--r--youtube_dl/extractor/generic.py2
1 files changed, 2 insertions, 0 deletions
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