Code block formatting

This commit is contained in:
Wesley Neuhaus 2024-11-22 11:23:10 -05:00
parent 09a0058c22
commit c9301d69f2

View File

@ -19,14 +19,16 @@ A simple, self-hosted YouTube downloader that allows you to download videos and
1. Clone the repository: 1. Clone the repository:
```bash
git clone https://gitea.patrolbuddygo.com/wesleyneuhaus/YouTubeDownloader.git git clone https://gitea.patrolbuddygo.com/wesleyneuhaus/YouTubeDownloader.git
cd YouTubeDownloader cd YouTubeDownloader
```
2. Install dependencies: 2. Install dependencies:
```bash
pip install -r requirements.txt pip install -r requirements.txt
```
3. Install FFmpeg (required for audio downloads): 3. Install FFmpeg (required for audio downloads):
- Download from [FFmpeg's official website](https://ffmpeg.org/download.html) - Download from [FFmpeg's official website](https://ffmpeg.org/download.html)
@ -36,12 +38,15 @@ pip install -r requirements.txt
1. Start the server: 1. Start the server:
```bash
python main.py python main.py
```
2. Open your web browser and navigate to: 2. Open your web browser and navigate to:
```
http://localhost:5000 http://localhost:5000
```
3. Enter a YouTube URL and select your preferred download format (video or audio) 3. Enter a YouTube URL and select your preferred download format (video or audio)
@ -51,5 +56,7 @@ http://localhost:5000
To update to the latest version: To update to the latest version:
```bash
git pull git pull
pip install -r requirements.txt pip install -r requirements.txt
```