- Download YouTube videos as MP4 or as WEBM
First install all requirements from requirements.txt:
pip install -r requirements.txt
After you have installed Flask, make sure to disable debug mode!
This step is crucial!
Make sure to change the following lines in main.py from this:
if __name__ == "__main__":
app.run(debug=True)
...to this:
if __name__ == "__main__":
app.run()
To start the website, run main.py like this:
python main.py
Copy this file to your Google Drive and follow the instructions.
Set the instance type to CPU for the best performance.
First, insert any URL from YouTube into the URL bar.
Next, select your preferred format and click "Download"