[gamespot] Use compat_urllib_parse_unquote

This commit is contained in:
Sergey M․ 2015-07-17 23:38:30 +06:00
parent d7011316d0
commit 1f80e360fc

View file

@ -5,7 +5,7 @@
from .common import InfoExtractor from .common import InfoExtractor
from ..compat import ( from ..compat import (
compat_urllib_parse, compat_urllib_parse_unquote,
compat_urlparse, compat_urlparse,
) )
from ..utils import ( from ..utils import (
@ -75,7 +75,7 @@ def _real_extract(self, url):
return { return {
'id': data_video['guid'], 'id': data_video['guid'],
'display_id': page_id, 'display_id': page_id,
'title': compat_urllib_parse.unquote(data_video['title']), 'title': compat_urllib_parse_unquote(data_video['title']),
'formats': formats, 'formats': formats,
'description': self._html_search_meta('description', webpage), 'description': self._html_search_meta('description', webpage),
'thumbnail': self._og_search_thumbnail(webpage), 'thumbnail': self._og_search_thumbnail(webpage),