https://github.com/nitro4542/pytube-webapp
A web-based front end for pytube
https://github.com/nitro4542/pytube-webapp
flask python pytube youtube
Last synced: 3 months ago
JSON representation
A web-based front end for pytube
- Host: GitHub
- URL: https://github.com/nitro4542/pytube-webapp
- Owner: Nitro4542
- License: gpl-3.0
- Created: 2023-10-20T16:09:51.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-25T12:11:23.000Z (over 2 years ago)
- Last Synced: 2025-03-31T15:36:00.315Z (about 1 year ago)
- Topics: flask, python, pytube, youtube
- Language: Python
- Homepage:
- Size: 203 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
pytube-webapp
A web-based front end for pytube
---
## Features
- Download YouTube videos as MP4 or as WEBM
## Installation / Setup
First install all requirements from requirements.txt:
```bash
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](main.py) from this:
```python
if __name__ == "__main__":
app.run(debug=True)
```
...to this:
```python
if __name__ == "__main__":
app.run()
```
To start the website, run [main.py](main.py) like this:
```bash
python main.py
```
### Google Colab
Copy [this file](pytube-webapp-colab.ipynb) to your Google Drive and follow the instructions.
Set the instance type to CPU for the best performance.
## How to use it
First, insert any URL from YouTube into the URL bar.
Next, select your preferred format and click "Download"