diff options
author | James Taylor <user234683@users.noreply.github.com> | 2018-07-08 00:57:09 -0700 |
---|---|---|
committer | James Taylor <user234683@users.noreply.github.com> | 2018-07-08 00:57:09 -0700 |
commit | f36c1d26a40a31cbf1de9cbdb8451f84c4eb01c6 (patch) | |
tree | d1501a08f3d151e15cca9996191e12dbfe185418 /youtube | |
parent | 83afe7eb1121234c75cab2b8749bd45e170cceb2 (diff) | |
download | yt-local-f36c1d26a40a31cbf1de9cbdb8451f84c4eb01c6.tar.lz yt-local-f36c1d26a40a31cbf1de9cbdb8451f84c4eb01c6.tar.xz yt-local-f36c1d26a40a31cbf1de9cbdb8451f84c4eb01c6.zip |
fix extraneous escapes in saved video info for playlists
Diffstat (limited to 'youtube')
-rw-r--r-- | youtube/common.py | 2 |
1 files changed, 1 insertions, 1 deletions
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): |