From 6ead64eed2270cac7cbf99bd5a5c3459d34036e0 Mon Sep 17 00:00:00 2001 From: Kumi Date: Wed, 18 Sep 2024 17:10:09 +0200 Subject: [PATCH] fix(watch_page): correct AllTube download link URL Updated the AllTube download link to use the correct URL format by incorporating the video ID, ensuring that the download functionality correctly points to the intended video. This change addresses issues with previously malformed URLs. --- src/invidious/frontend/watch_page.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/invidious/frontend/watch_page.cr b/src/invidious/frontend/watch_page.cr index aed00c0b..cd7a5ffd 100644 --- a/src/invidious/frontend/watch_page.cr +++ b/src/invidious/frontend/watch_page.cr @@ -20,7 +20,7 @@ module Invidious::Frontend::WatchPage def download_widget(locale : String, video : Video, video_assets : VideoAssets) : String if CONFIG.alltube_url - return "#{translate(locale, "Download with AllTube")}" + return "#{translate(locale, "Download with AllTube")}" end if CONFIG.disabled?("downloads")