initial commit
This commit is contained in:
commit
b39b82463b
13 changed files with 214 additions and 0 deletions
10
dlp-trnsrpt
Executable file
10
dlp-trnsrpt
Executable file
|
@ -0,0 +1,10 @@
|
|||
#!/usr/bin/env bash
|
||||
# docstring=transcript of youtube videos
|
||||
set -E -o pipefail
|
||||
|
||||
TEMP_FOLDER='/tmp/dlp-trnsrpt'
|
||||
mkdir -p "$TEMP_FOLDER"
|
||||
cd "$TEMP_FOLDER"
|
||||
|
||||
yt-dlp --write-auto-sub --sub-langs 'en.*,.*orig' --convert-subs=srt --skip-download "$*"
|
||||
nvim "$TEMP_FOLDER"/*-orig*
|
Loading…
Add table
Add a link
Reference in a new issue