Browse Source

[youtube] Remove useless u prefixes

totalwebcasting
Philipp Hagemeister 10 years ago
parent
commit
0792d5634e
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      youtube_dl/extractor/youtube.py

+ 3
- 3
youtube_dl/extractor/youtube.py View File

@ -609,9 +609,9 @@ class YoutubeIE(YoutubeBaseInfoExtractor, SubtitlesInfoExtractor):
return {} return {}
player_config = json.loads(mobj.group(1)) player_config = json.loads(mobj.group(1))
try: try:
args = player_config[u'args']
caption_url = args[u'ttsurl']
timestamp = args[u'timestamp']
args = player_config['args']
caption_url = args['ttsurl']
timestamp = args['timestamp']
# We get the available subtitles # We get the available subtitles
list_params = compat_urllib_parse.urlencode({ list_params = compat_urllib_parse.urlencode({
'type': 'list', 'type': 'list',


Loading…
Cancel
Save