mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-10 09:07:58 +01:00
[xnxx] Use compat_urllib_parse_unquote
This commit is contained in:
parent
736f003f2e
commit
7dde5f6a8d
1 changed files with 2 additions and 4 deletions
|
@ -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 @@ def _real_extract(self, url):
|
|||
|
||||
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')
|
||||
|
|
Loading…
Reference in a new issue