🔧 Another invidious/yt-dlp script
This commit is contained in:
parent
2e5020d5d6
commit
28d1c7569f
1 changed files with 7 additions and 0 deletions
7
scripts/ivdl-w
Executable file
7
scripts/ivdl-w
Executable file
|
|
@ -0,0 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
video_id=$(echo "$1" | grep -oE 'v=([a-zA-Z0-9_-]{11})' | cut -d= -f2)
|
||||
|
||||
youtube_url="https://www.youtube.com/watch?v=$video_id"
|
||||
|
||||
yt-dlp "best*" --sponsorblock-remove all --write-auto-sub "$youtube_url"
|
||||
Loading…
Add table
Add a link
Reference in a new issue