fixing the download speed issues with milk and cookies (--cookies command added)

This commit is contained in:
TheErrorExe 2025-02-03 19:05:25 +01:00
parent 60f083d6c2
commit accc5a321d
2 changed files with 2 additions and 1 deletions

View file

@ -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.

View file

@ -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}"