aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-07-17 23:50:52 +0600
committerSergey M․ <dstftw@gmail.com>2015-07-17 23:50:52 +0600
commitdb6c50f109e732f287cc0c61216cdd865a031ea3 (patch)
treea5c96225043a4d397ac08066d838ad0947c53cf1 /youtube_dl
parentaa4789d632b71abb79561ecf6769258a66e158f2 (diff)
[ynet] Use compat_urllib_parse_unquote_plus
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/ynet.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/extractor/ynet.py b/youtube_dl/extractor/ynet.py
index 894678a23..869f3e819 100644
--- a/youtube_dl/extractor/ynet.py
+++ b/youtube_dl/extractor/ynet.py
@@ -5,7 +5,7 @@ import re
import json
from .common import InfoExtractor
-from ..compat import compat_urllib_parse
+from ..compat import compat_urllib_parse_unquote_plus
class YnetIE(InfoExtractor):
@@ -34,7 +34,7 @@ class YnetIE(InfoExtractor):
video_id = self._match_id(url)
webpage = self._download_webpage(url, video_id)
- content = compat_urllib_parse.unquote_plus(self._og_search_video_url(webpage))
+ content = compat_urllib_parse_unquote_plus(self._og_search_video_url(webpage))
config = json.loads(self._search_regex(r'config=({.+?})$', content, 'video config'))
f4m_url = config['clip']['url']
title = self._og_search_title(webpage)