Skip to content

Commit 9262ed1

Browse files
committed
YTDL: Update documents for yt-dlp. v5.15.17
1 parent 1bf2774 commit 9262ed1

File tree

1 file changed

+21
-2
lines changed

1 file changed

+21
-2
lines changed

DEVELOPER.md

+21-2
Original file line numberDiff line numberDiff line change
@@ -899,14 +899,33 @@ Install pyinstaller:
899899
brew install pyinstaller
900900
```
901901

902-
Clone and build the youtube-dl:
902+
Clone and build the [youtube-dl](https://github.com/ytdl-org/youtube-dl):
903903

904904
```bash
905-
cd ~/git && git clone git@github.com:ytdl-org/youtube-dl.git &&
905+
cd ~/git && git clone https://github.com/ytdl-org/youtube-dl.git &&
906906
cd ~/git/youtube-dl && pyinstaller --onefile --clean --noconfirm --name youtube-dl youtube_dl/__main__.py &&
907907
ln -sf ~/git/youtube-dl/dist/youtube-dl /opt/homebrew/bin/
908908
```
909909

910+
For linux server, to download the latest youtube-dl:
911+
912+
```bash
913+
curl -L -o /usr/local/bin/youtube-dl 'https://github.com/ytdl-org/ytdl-nightly/releases/latest/download/youtube-dl' &&
914+
rm -f /usr/bin/python && ln -sf /usr/bin/python3 /usr/bin/python &&
915+
chmod +x /usr/local/bin/youtube-dl
916+
```
917+
918+
An alternative project is [yt-dlp](https://github.com/yt-dlp/yt-dlp) which is a fork of youtube-dl:
919+
920+
```bash
921+
cd ~/git && git clone https://github.com/yt-dlp/yt-dlp.git &&
922+
cd ~/git/yt-dlp && python3 -m venv venv && source venv/bin/activate &&
923+
python3 devscripts/install_deps.py --include pyinstaller &&
924+
python3 devscripts/make_lazy_extractors.py
925+
python3 -m bundle.pyinstaller --onefile --clean --noconfirm --name youtube-dl yt_dlp/__main__.py &&
926+
ln -sf ~/git/yt-dlp/dist/youtube-dl /opt/homebrew/bin/
927+
```
928+
910929
Use socks5 proxy for macOS to download:
911930

912931
```bash

0 commit comments

Comments
 (0)