aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/common.py
diff options
context:
space:
mode:
authorJames Taylor <user234683@users.noreply.github.com>2018-07-08 18:38:06 -0700
committerJames Taylor <user234683@users.noreply.github.com>2018-07-08 18:40:39 -0700
commit52835db0a83e071ffe72be80fa68445c370b47cb (patch)
tree1162c190d1ccfb5e5e86f1af2587728f4d03f115 /youtube/common.py
parentf4024573dcbd4a19e7138814bbc54ac0a653f3d3 (diff)
downloadyt-local-52835db0a83e071ffe72be80fa68445c370b47cb.tar.lz
yt-local-52835db0a83e071ffe72be80fa68445c370b47cb.tar.xz
yt-local-52835db0a83e071ffe72be80fa68445c370b47cb.zip
add support for viewing local playlists
Diffstat (limited to 'youtube/common.py')
-rw-r--r--youtube/common.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube/common.py b/youtube/common.py
index d3e3c0d..6e0f4eb 100644
--- a/youtube/common.py
+++ b/youtube/common.py
@@ -42,7 +42,8 @@ URL_ORIGIN = "/https://www.youtube.com"
# first_video_id
-
+with open('yt_basic_template.html', 'r', encoding='utf-8') as file:
+ yt_basic_template = Template(file.read())