A feature-rich command-line audio/video downloader
[xnxx] Use compat_urllib_parse_unquote
Sergey M․7dde5f6a8d10
diff --git a/youtube_dl/extractor/xnxx.py b/youtube_dl/extractor/xnxx.pyindex 79ed6c7442..5a41f8ffa0 100644--- a/youtube_dl/extractor/xnxx.py+++ b/youtube_dl/extractor/xnxx.py@@ -2,9 +2,7 @@from __future__ import unicode_literalsfrom .common import InfoExtractor-from ..compat import (- compat_urllib_parse,-)+from ..compat import compat_urllib_parse_unquoteclass XNXXIE(InfoExtractor):@@ -26,7 +24,7 @@ class XNXXIE(InfoExtractor):video_url = self._search_regex(r'flv_url=(.*?)&',webpage, 'video URL')- video_url = compat_urllib_parse.unquote(video_url)+ video_url = compat_urllib_parse_unquote(video_url)video_title = self._html_search_regex(r'<title>(.*?)\s+-\s+XNXX.COM',webpage, 'title')