]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[openfilm] Use compat_urllib_parse_unquote_plus
authorSergey M․ <dstftw@gmail.com>
Fri, 17 Jul 2015 17:45:26 +0000 (23:45 +0600)
committerSergey M․ <dstftw@gmail.com>
Fri, 17 Jul 2015 17:45:26 +0000 (23:45 +0600)
youtube_dl/extractor/openfilm.py

index 2249657eb1b796970c155f4baf3445fef9b60681..7e10bdf2c2187b1c3735a8ac3bda29771046c057 100644 (file)
@@ -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(