summary refs log tree commit diff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-07-17 23:45:00 +0600
committerSergey M․ <dstftw@gmail.com>2015-07-17 23:45:00 +0600
commitb78f5ec4c338e5e9379c1d7a2b0c99451e06897a (patch)
tree76067cd522d7f7da57489ed6c97c41a518861355
parent9fd3bf04b7b160c1f24f9818689075f2570b8a2e (diff)
downloadyoutube-dl-b78f5ec4c338e5e9379c1d7a2b0c99451e06897a.tar.gz
youtube-dl-b78f5ec4c338e5e9379c1d7a2b0c99451e06897a.tar.xz
youtube-dl-b78f5ec4c338e5e9379c1d7a2b0c99451e06897a.zip
[odnoklassniki] Use compat_urllib_parse_unquote
-rw-r--r--youtube_dl/extractor/odnoklassniki.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/extractor/odnoklassniki.py b/youtube_dl/extractor/odnoklassniki.py
index 6c7149fe3..215ffe87b 100644
--- a/youtube_dl/extractor/odnoklassniki.py
+++ b/youtube_dl/extractor/odnoklassniki.py
@@ -2,7 +2,7 @@
 from __future__ import unicode_literals
 
 from .common import InfoExtractor
-from ..compat import compat_urllib_parse
+from ..compat import compat_urllib_parse_unquote
 from ..utils import (
     unified_strdate,
     int_or_none,
@@ -62,7 +62,7 @@ class OdnoklassnikiIE(InfoExtractor):
             metadata = self._parse_json(metadata, video_id)
         else:
             metadata = self._download_json(
-                compat_urllib_parse.unquote(flashvars['metadataUrl']),
+                compat_urllib_parse_unquote(flashvars['metadataUrl']),
                 video_id, 'Downloading metadata JSON')
 
         movie = metadata['movie']