initial commit

This commit is contained in:
Ranomier 2024-11-11 02:31:05 +01:00
commit b39b82463b
13 changed files with 214 additions and 0 deletions

10
dlp-trnsrpt Executable file
View 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*