Browse Source

[openfilm] Use compat_urllib_parse_unquote_plus

Sergey M․ 10 năm trước cách đây
mục cha
commit
d54f1c7477
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      youtube_dl/extractor/openfilm.py

+ 2 - 2
youtube_dl/extractor/openfilm.py

@@ -5,7 +5,7 @@ import json
 from .common import InfoExtractor
 from ..utils import (
     parse_iso8601,
-    compat_urllib_parse,
+    compat_urllib_parse_unquote_plus,
     parse_age_limit,
     int_or_none,
 )
@@ -37,7 +37,7 @@ class OpenFilmIE(InfoExtractor):
 
         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))
 
         video = json.loads(self._search_regex(