mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-12-23 06:42:21 +00:00
[openfilm] Use compat_urllib_parse_unquote_plus
This commit is contained in:
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…
Reference in New Issue
Block a user