mirror of
https://github.com/ReviveMii/revivetube
synced 2025-04-29 12:39:25 -04:00
fixing the download speed issues with milk and cookies (--cookies command added)
This commit is contained in:
parent
60f083d6c2
commit
accc5a321d
2 changed files with 2 additions and 1 deletions
|
@ -8,7 +8,7 @@ ReviveMii Homepage: https://revivemii.errexe.xyz/
|
||||||
|
|
||||||
# Self Hosting
|
# 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.
|
Go to https://console.cloud.google.com/ and create a new application with the YouTube Data v3 API.
|
||||||
|
|
||||||
|
|
|
@ -252,6 +252,7 @@ def process_video(video_id):
|
||||||
command = [
|
command = [
|
||||||
"yt-dlp",
|
"yt-dlp",
|
||||||
"-o", temp_video_path,
|
"-o", temp_video_path,
|
||||||
|
"--cookies", "cookies.txt",
|
||||||
"--proxy", "http://localhost:4000",
|
"--proxy", "http://localhost:4000",
|
||||||
"-f", "worstvideo+worstaudio",
|
"-f", "worstvideo+worstaudio",
|
||||||
f"https://youtube.com/watch?v={video_id}"
|
f"https://youtube.com/watch?v={video_id}"
|
||||||
|
|
Loading…
Add table
Reference in a new issue