]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[youtube] Remove useless u prefixes
authorPhilipp Hagemeister <phihag@phihag.de>
Wed, 26 Nov 2014 11:41:53 +0000 (12:41 +0100)
committerPhilipp Hagemeister <phihag@phihag.de>
Wed, 26 Nov 2014 11:41:53 +0000 (12:41 +0100)
youtube_dl/extractor/youtube.py

index 4ebc7b7129e0a5d2f04a6a3a01f32018df75b502..115fc6840f996c5401d8ed229b721ea432c56977 100644 (file)
@@ -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',