From accc5a321d303e06b19b0302358435e540850625 Mon Sep 17 00:00:00 2001 From: TheErrorExe Date: Mon, 3 Feb 2025 19:05:25 +0100 Subject: [PATCH] fixing the download speed issues with milk and cookies (--cookies command added) --- README.md | 2 +- revivetube.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a43098e..5342693 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ ReviveMii Homepage: https://revivemii.errexe.xyz/ # Self Hosting -WARNING: before starting the server, remove the --proxy command in revivetube.py +WARNING: before starting the server, remove the --proxy command and the --cookie command in revivetube.py Go to https://console.cloud.google.com/ and create a new application with the YouTube Data v3 API. diff --git a/revivetube.py b/revivetube.py index d56a384..4f858d2 100644 --- a/revivetube.py +++ b/revivetube.py @@ -252,6 +252,7 @@ def process_video(video_id): command = [ "yt-dlp", "-o", temp_video_path, + "--cookies", "cookies.txt", "--proxy", "http://localhost:4000", "-f", "worstvideo+worstaudio", f"https://youtube.com/watch?v={video_id}"