From f36c1d26a40a31cbf1de9cbdb8451f84c4eb01c6 Mon Sep 17 00:00:00 2001 From: James Taylor Date: Sun, 8 Jul 2018 00:57:09 -0700 Subject: fix extraneous escapes in saved video info for playlists --- youtube/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'youtube/common.py') diff --git a/youtube/common.py b/youtube/common.py index 42d1381..3ee952d 100644 --- a/youtube/common.py +++ b/youtube/common.py @@ -241,7 +241,7 @@ def small_video_item_html(item): duration = item["duration"], url = URL_ORIGIN + "/watch?v=" + item["id"], thumbnail = get_thumbnail_url(item['id']), - video_info = html.escape(json.dumps(video_info)), + video_info = html.escape(video_info), ) def small_playlist_item_html(item): -- cgit v1.2.3