[youtube] Transform google's JSON dialect (fixes #2663)
authorPhilipp Hagemeister <phihag@phihag.de>
Tue, 1 Apr 2014 03:56:56 +0000 (05:56 +0200)
committerPhilipp Hagemeister <phihag@phihag.de>
Tue, 1 Apr 2014 03:56:56 +0000 (05:56 +0200)
youtube_dl/extractor/youtube.py

index 6384095f9f5452e9565d69ff39b9f19fa8331c74..856a9a59642352bb6b2049b780fdfad0818e58ba 100644 (file)
@@ -1446,7 +1446,9 @@ class YoutubePlaylistIE(YoutubeBaseInfoExtractor):
                 break
 
             more = self._download_json(
-                'https://youtube.com/%s' % mobj.group('more'), playlist_id, 'Downloading page #%s' % page_num)
+                'https://youtube.com/%s' % mobj.group('more'), playlist_id,
+                'Downloading page #%s' % page_num,
+                transform_source=uppercase_escape)
             content_html = more['content_html']
             more_widget_html = more['load_more_widget_html']