From: Philipp Hagemeister Date: Wed, 26 Nov 2014 11:41:53 +0000 (+0100) Subject: [youtube] Remove useless u prefixes X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=0792d5634ebc607bcd38f6e9333240d4cfa001c2;p=youtube-dl [youtube] Remove useless u prefixes --- diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py index 4ebc7b712..115fc6840 100644 --- a/youtube_dl/extractor/youtube.py +++ b/youtube_dl/extractor/youtube.py @@ -609,9 +609,9 @@ class YoutubeIE(YoutubeBaseInfoExtractor, SubtitlesInfoExtractor): return {} player_config = json.loads(mobj.group(1)) 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 list_params = compat_urllib_parse.urlencode({ 'type': 'list',