aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/xvideos.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-07-17 23:50:25 +0600
committerSergey M․ <dstftw@gmail.com>2015-07-17 23:50:25 +0600
commitaa4789d632b71abb79561ecf6769258a66e158f2 (patch)
tree8cb53ccd56756a3e38cfa17bab02c705e85a4d87 /youtube_dl/extractor/xvideos.py
parentee8de13e14f0dee555c340ef8b9f9c15a6bac6dc (diff)
downloadyoutube-dl-aa4789d632b71abb79561ecf6769258a66e158f2.tar.xz
[xvideos] Use compat_urllib_parse_unquote
Diffstat (limited to 'youtube_dl/extractor/xvideos.py')
-rw-r--r--youtube_dl/extractor/xvideos.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/extractor/xvideos.py b/youtube_dl/extractor/xvideos.py
index d8415bed4..5dcf2fdd1 100644
--- a/youtube_dl/extractor/xvideos.py
+++ b/youtube_dl/extractor/xvideos.py
@@ -4,7 +4,7 @@ import re
from .common import InfoExtractor
from ..compat import (
- compat_urllib_parse,
+ compat_urllib_parse_unquote,
compat_urllib_request,
)
from ..utils import (
@@ -37,7 +37,7 @@ class XVideosIE(InfoExtractor):
if mobj:
raise ExtractorError('%s said: %s' % (self.IE_NAME, clean_html(mobj.group(1))), expected=True)
- video_url = compat_urllib_parse.unquote(
+ video_url = compat_urllib_parse_unquote(
self._search_regex(r'flv_url=(.+?)&', webpage, 'video URL'))
video_title = self._html_search_regex(
r'<title>(.*?)\s+-\s+XVID', webpage, 'title')