Videos on most sites make use of progressive downloading, which means that the video is downloaded to my computer, and easy to trace. There are lots of extensions out there
I came up with an efficient parralelized one-line that concatenate a sequence of .ts
files into one .mp4
file using GNU Parallel:
parallel -k curl https://example.com/video/seg-{}-f4-v1-a1.ts ::: {1..279} >> result.mp4
The key is to replace the variant part of your url with {}
and to set {a..b}
with the lower and upper bound. That's it!