vault backup: 2025-02-10 17:27:57

This commit is contained in:
2025-02-10 17:27:57 +08:00
parent 60a1c02c6a
commit 5752038f86
159 changed files with 1 additions and 1 deletions

View File

@@ -0,0 +1,30 @@
## youtube-dl
### List format
```shell
youtube-dl -F <YOUTUBE_URL>
```
e.g.
```shell
youtube-dl -F https://www.youtube.com/watch?v=Pbzn79TSRO0
```
### Download
```shell
youtube-dl -f <FORMAT_ID> <YOUTUBE_URL>
```
### Download video-only & audio-only & merge to MKV
```shell
youtube-dl -f <VIDEO_ONLY_ID>+<AUDIO_ONLY_ID> --merge-output-format mkv <YOUTUBE_URL>
```
e.g.
```shell
youtube-dl -f 313+251 --merge-output-format mkv https://www.youtube.com/watch?v=Pbzn79TSRO0
```
### Download video to MP3
```shell
youtube-dl -i --extract-audio --audio-format mp3 --audio-quality 0 https://www.youtube.com/watch?v=IruVsWrfPqs
```