aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/watch.py
diff options
context:
space:
mode:
authorUmimaso <git@umimaso.com>2021-06-19 23:56:32 +0100
committerJesús <heckyel@hyperbola.info>2021-06-23 12:42:17 -0500
commit5b4c99c702757aa33393155af638b468983bbeb4 (patch)
treeaff3744d087f45c7f166c766d59b74174df51204 /youtube/watch.py
parent95ae35260c7d141341d6e81d8233568f98e9acdb (diff)
downloadyt-local-5b4c99c702757aa33393155af638b468983bbeb4.tar.lz
yt-local-5b4c99c702757aa33393155af638b468983bbeb4.tar.xz
yt-local-5b4c99c702757aa33393155af638b468983bbeb4.zip
feat: add direct link
Signed-off-by: Jesús <heckyel@hyperbola.info>
Diffstat (limited to 'youtube/watch.py')
-rw-r--r--youtube/watch.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/youtube/watch.py b/youtube/watch.py
index 14d5fcd..6ff0735 100644
--- a/youtube/watch.py
+++ b/youtube/watch.py
@@ -546,6 +546,7 @@ def get_watch_page(video_id=None):
invidious_used = info['invidious_used'],
invidious_reload_button = info['invidious_reload_button'],
video_url = util.URL_ORIGIN + '/watch?v=' + video_id,
+ video_id = video_id,
time_start = time_start,
js_data = {