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

index 2d33fa7f50d203a4522229d319467595881b138a..b3f1bafcc37ee98f1c5b89a644909f3ee0a32049 100644 (file)
@@ -5,7 +5,7 @@ import json
 
 from .common import InfoExtractor
 from ..compat import (
-    compat_urllib_parse,
+    compat_urllib_parse_unquote,
     compat_urlparse,
 )
 from ..utils import (
@@ -75,7 +75,7 @@ class GameSpotIE(InfoExtractor):
         return {
             'id': data_video['guid'],
             'display_id': page_id,
-            'title': compat_urllib_parse.unquote(data_video['title']),
+            'title': compat_urllib_parse_unquote(data_video['title']),
             'formats': formats,
             'description': self._html_search_meta('description', webpage),
             'thumbnail': self._og_search_thumbnail(webpage),