docs: Update README with Python and yt-dlp installation instructions

This commit is contained in:
Peifan Li
2025-12-02 13:02:58 -05:00
parent bac84f2d55
commit a147361845
3 changed files with 18 additions and 7 deletions

View File

@@ -74,6 +74,8 @@ mytube/
- Node.js (v14 or higher)
- npm (v6 or higher)
- Docker (optional, for containerized deployment)
- Python 3.8+ (for yt-dlp and PO Token provider)
- yt-dlp (installed via pip/pipx)
### Installation
@@ -100,6 +102,16 @@ mytube/
cd ../backend && npm install
```
**Note**: The backend installation will automatically build the `bgutil-ytdlp-pot-provider` server. However, you must ensure `yt-dlp` and the `bgutil-ytdlp-pot-provider` python plugin are installed in your environment:
```bash
# Install yt-dlp and the plugin
pip install yt-dlp bgutil-ytdlp-pot-provider
# OR using pipx (recommended)
pipx install yt-dlp
pipx inject yt-dlp bgutil-ytdlp-pot-provider
```
#### Using npm Scripts
You can use npm scripts from the root directory: