summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorPhilipp Hagemeister <[email protected]>2014-04-01 05:56:56 +0200
committerPhilipp Hagemeister <[email protected]>2014-04-01 05:56:56 +0200
commit5912c639df1b3fe6c14b488d77cb619fa808de75 (patch)
tree6f5a28d32f5ac31b17ffce395e11831c8877e222
parent017e4dd58ce4ebc2dbd3deb724d416e0f3f9e0ec (diff)
downloadyoutube-dl-5912c639df1b3fe6c14b488d77cb619fa808de75.tar.gz
youtube-dl-5912c639df1b3fe6c14b488d77cb619fa808de75.zip
[youtube] Transform google's JSON dialect (fixes #2663)
-rw-r--r--youtube_dl/extractor/youtube.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py
index 6384095f9..856a9a596 100644
--- a/youtube_dl/extractor/youtube.py
+++ b/youtube_dl/extractor/youtube.py
@@ -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']