An improvement on an old bash script I wrote for myself called vidcut. It vastly speeds up my video editing workflow.
Simplest usage
ytsnip https://www.youtube.com/watch?v=f3X8ifnz5cw 0 0 0 59
You can also specify --title and --outdir
You need python3, ffmpeg and youtube-dl