fix extraneous escapes in saved video info for playlists

This commit is contained in:
James Taylor 2018-07-08 00:57:09 -07:00
parent 83afe7eb11
commit f36c1d26a4

View File

@ -241,7 +241,7 @@ def small_video_item_html(item):
duration = item["duration"], duration = item["duration"],
url = URL_ORIGIN + "/watch?v=" + item["id"], url = URL_ORIGIN + "/watch?v=" + item["id"],
thumbnail = get_thumbnail_url(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): def small_playlist_item_html(item):