diff options
author | Sergey M․ <dstftw@gmail.com> | 2015-07-17 23:41:14 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2015-07-17 23:41:14 +0600 |
commit | 977a247a0639728146dd5c0d369b542e0a1af69b (patch) | |
tree | 053e2f83ea01aa49d3b3fbee64840d0d7e7a5c6e /youtube_dl/extractor/malemotion.py | |
parent | 899a3e2f139a7b774d1a9483bb975e480e642c75 (diff) |
[malemotion] Use compat_urllib_parse_unquote
Diffstat (limited to 'youtube_dl/extractor/malemotion.py')
-rw-r--r-- | youtube_dl/extractor/malemotion.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/youtube_dl/extractor/malemotion.py b/youtube_dl/extractor/malemotion.py index 0b85a59d1..92511a671 100644 --- a/youtube_dl/extractor/malemotion.py +++ b/youtube_dl/extractor/malemotion.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 MalemotionIE(InfoExtractor): @@ -24,7 +22,7 @@ class MalemotionIE(InfoExtractor): video_id = self._match_id(url) webpage = self._download_webpage(url, video_id) - video_url = compat_urllib_parse.unquote(self._search_regex( + video_url = compat_urllib_parse_unquote(self._search_regex( r'<source type="video/mp4" src="(.+?)"', webpage, 'video URL')) video_title = self._html_search_regex( r'<title>(.*?)</title', webpage, 'title') |