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