diff options
author | Sergey M․ <dstftw@gmail.com> | 2015-07-17 23:49:38 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2015-07-17 23:49:38 +0600 |
commit | 7dde5f6a8d10ba98b43f920c73248a8a7e73dc38 (patch) | |
tree | 41bfa9b9e81e3fd712841b2b855d8cf8272e0780 /youtube_dl/extractor/xnxx.py | |
parent | 736f003f2e96b37a9554d77a26fdef6c0a38fd5d (diff) |
[xnxx] Use compat_urllib_parse_unquote
Diffstat (limited to 'youtube_dl/extractor/xnxx.py')
-rw-r--r-- | youtube_dl/extractor/xnxx.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/youtube_dl/extractor/xnxx.py b/youtube_dl/extractor/xnxx.py index 79ed6c744..5a41f8ffa 100644 --- a/youtube_dl/extractor/xnxx.py +++ b/youtube_dl/extractor/xnxx.py @@ -2,9 +2,7 @@ from __future__ import unicode_literals from .common import InfoExtractor -from ..compat import ( - compat_urllib_parse, -) +from ..compat import compat_urllib_parse_unquote class 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') |