aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/watch.py
diff options
context:
space:
mode:
authorJames Taylor <28744867+user234683@users.noreply.github.com>2020-10-21 18:53:34 -0700
committerGitHub <noreply@github.com>2020-10-21 18:53:34 -0700
commit8b54a5f3aa376651bf063baa6893fe9b7f0e2ca0 (patch)
tree6bff6ae507db03e435bb04e3969ef08093f3f8d8 /youtube/watch.py
parentf01ef36a37c9112eca3f85d49622c41d68000a69 (diff)
parentaa52c7a42e9573105dfadb07981c7f5f1447ca9d (diff)
downloadyt-local-8b54a5f3aa376651bf063baa6893fe9b7f0e2ca0.tar.lz
yt-local-8b54a5f3aa376651bf063baa6893fe9b7f0e2ca0.tar.xz
yt-local-8b54a5f3aa376651bf063baa6893fe9b7f0e2ca0.zip
Merge pull request #32 from zrose584/add_sponsorblock
add sponsorblock.js
Diffstat (limited to 'youtube/watch.py')
-rw-r--r--youtube/watch.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/youtube/watch.py b/youtube/watch.py
index b1d4665..8ef9448 100644
--- a/youtube/watch.py
+++ b/youtube/watch.py
@@ -493,6 +493,10 @@ def get_watch_page(video_id=None):
invidious_reload_button = info['invidious_reload_button'],
video_url = util.URL_ORIGIN + '/watch?v=' + video_id,
time_start = time_start,
+
+ js_data = {
+ 'video_id': video_info['id'],
+ }
)