Skip to content

Instantly share code, notes, and snippets.

@nirlanka
Created August 21, 2024 06:20
Show Gist options
  • Save nirlanka/97d09fce9fee918d65c88b7254469791 to your computer and use it in GitHub Desktop.
Save nirlanka/97d09fce9fee918d65c88b7254469791 to your computer and use it in GitHub Desktop.

Revisions

  1. nirlanka revised this gist Aug 21, 2024. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion yt-download.sh
    Original file line number Diff line number Diff line change
    @@ -1,2 +1,4 @@
    pipenv shell # should have yt-dlp installed
    yt-dlp --write-subs --sub-lang en --convert-subs srt --sub-format txt --cookies-from-browser chrome <VIDEO-OR-PLAYLIST-URL>
    yt-dlp --write-subs --sub-lang en --convert-subs srt --sub-format txt --cookies-from-browser chrome <VIDEO-OR-PLAYLIST-URL>

    # https://apple.stackexchange.com/questions/434686/how-to-get-cookies-txt-for-youtube-from-safari
  2. nirlanka renamed this gist Aug 21, 2024. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  3. nirlanka created this gist Aug 21, 2024.
    2 changes: 2 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    pipenv shell # should have yt-dlp installed
    yt-dlp --write-subs --sub-lang en --convert-subs srt --sub-format txt --cookies-from-browser chrome <VIDEO-OR-PLAYLIST-URL>