aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/watch.py
diff options
context:
space:
mode:
authorzrose584 <57181548+zrose584@users.noreply.github.com>2020-10-18 17:58:16 +0200
committerzrose584 <57181548+zrose584@users.noreply.github.com>2020-10-18 18:48:52 +0200
commita8916b9308a4e2b7c1441a4d8d3c6d0b19c38fd2 (patch)
treec8da0b06304993904214b2018d8ea33355c0c02e /youtube/watch.py
parentf7f2b9fa06fd2218179636c712e43f0c4d65bd9e (diff)
downloadyt-local-a8916b9308a4e2b7c1441a4d8d3c6d0b19c38fd2.tar.lz
yt-local-a8916b9308a4e2b7c1441a4d8d3c6d0b19c38fd2.tar.xz
yt-local-a8916b9308a4e2b7c1441a4d8d3c6d0b19c38fd2.zip
proxy 'sponsor.ajay.app'
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 1a9e6c4..1fa952c 100644
--- a/youtube/watch.py
+++ b/youtube/watch.py
@@ -489,6 +489,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'],
+ }
)