[openfilm] Use compat_urllib_parse_unquote_plus

pull/8/head
Sergey M․ 9 years ago
parent b78f5ec4c3
commit d54f1c7477

@ -5,7 +5,7 @@ import json
from .common import InfoExtractor from .common import InfoExtractor
from ..utils import ( from ..utils import (
parse_iso8601, parse_iso8601,
compat_urllib_parse, compat_urllib_parse_unquote_plus,
parse_age_limit, parse_age_limit,
int_or_none, int_or_none,
) )
@ -37,7 +37,7 @@ class OpenFilmIE(InfoExtractor):
webpage = self._download_webpage(url, display_id) webpage = self._download_webpage(url, display_id)
player = compat_urllib_parse.unquote_plus( player = compat_urllib_parse_unquote_plus(
self._og_search_video_url(webpage)) self._og_search_video_url(webpage))
video = json.loads(self._search_regex( video = json.loads(self._search_regex(

Loading…
Cancel
Save