Browse Source

[gamespot] Use compat_urllib_parse_unquote

totalwebcasting
Sergey M․ 10 years ago
parent
commit
1f80e360fc
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      youtube_dl/extractor/gamespot.py

+ 2
- 2
youtube_dl/extractor/gamespot.py View File

@ -5,7 +5,7 @@ import json
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 @@ class GameSpotIE(InfoExtractor):
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),


Loading…
Cancel
Save