Ivan Habunek
f9e60082ba
Improve downloading logic
...
Follow redirects to avoid saving an intermediate response, and raise an
error on invalid status to avoid saving an error response.
2024-08-28 09:52:15 +02:00
Ivan Habunek
f1924715ed
Apply formatting
2024-04-23 17:35:46 +02:00
Ivan Habunek
96526c2ca5
Display exception errors in console
2024-03-29 08:43:32 +01:00
Ivan Habunek
a4b2434735
Start adding types
2022-08-20 13:25:00 +02:00
Ivan Habunek
f40fd290f7
Replace requests with httpx, remove unused code
2022-08-15 07:12:10 +02:00
David the Intrepid
dd1f4e0d26
Better computation of speed
...
Distinct VODs took from disk and freshly downloaded
2021-09-16 08:29:33 +02:00
Ivan Habunek
041689bee9
Construct paths using path libs
...
Fixes issues with paths on windows.
issue #35
2020-09-03 12:26:28 +02:00
Ivan Habunek
bf2a4558f4
Improve VOD joining logic
...
Instead of creating a file list, create a modified playlist which
references the downloaded files, and give this as input to ffmpeg. Since
ffmpeg handles M3U8 playlists, this means options such as
`EXT-X-BYTERANGE` are supported.
issue #35
2020-09-03 10:38:29 +02:00
Ivan Habunek
c9547435df
Nicer otput while dowloading VODs, bright colors
2020-04-11 14:05:23 +02:00
Ivan Habunek
042d35ba1e
Override local file names for downloaded vods
...
Sometimes the playlists contain more than just file names which can
break the ffmpeg join, so just name downloaded vods sequentially.
fixes #12
2020-04-11 13:20:59 +02:00
Ivan Habunek
ebc754072d
Reorganise code
2020-04-11 13:08:42 +02:00
Ivan Habunek
6a8da3b01b
Don't print errors messages when retrying
...
Only die if all retries fail.
2020-04-10 16:22:15 +02:00
Ivan Habunek
da60560b63
Improve download process
...
* allow resuming
* retry downloads
* add timeouts
2019-01-29 14:46:24 +01:00