Commit Graph

148 Commits

Author SHA1 Message Date
Ivan Habunek
c8a6d67822
Improve speed tracking
Instead of calculating the average speed for the whole download,
consider only the last 100 chunks.
2022-08-17 08:35:57 +02:00
Ivan Habunek
51a35ab494
Remove overly verbose logging 2022-08-15 07:14:53 +02:00
Ivan Habunek
f40fd290f7
Replace requests with httpx, remove unused code 2022-08-15 07:12:10 +02:00
Ivan Habunek
b03c19dac1
Improve visuals
I never liked cyan anyway
2022-08-14 11:33:38 +02:00
Ivan Habunek
cd445674e5
Download chunks to a temp file first 2022-08-14 11:33:23 +02:00
Ivan Habunek
721d78377e
Add rate limiting to download 2022-08-14 11:13:11 +02:00
Ivan Habunek
ac07006ae7
Limit number of prints per second 2022-08-14 11:04:53 +02:00
Ivan Habunek
32a68395d5
Use async downloader 2022-08-14 11:02:29 +02:00
Ivan Habunek
81846764a1
Don't download already downloaded files 2022-08-14 10:21:38 +02:00
Ivan Habunek
23f1a74aa6
Add new asyncio downloader code with rate limiting 2022-08-13 11:41:13 +02:00
Ivan Habunek
85631c8ce5
Extract progress tracking 2022-08-13 09:40:18 +02:00
Ivan Habunek
b3a57c2f95
Bump version, update changelog 2022-06-25 11:38:27 +02:00
Ivan Habunek
e1cf7c7cf8
Add a better error when auth token is rejected 2022-06-25 11:32:50 +02:00
Ivan Habunek
409100651e
Change the option to --auth-token 2022-06-25 10:14:30 +02:00
Philipp
f37179d786 Implemented auth param 2022-06-25 09:44:12 +02:00
Philipp
827fff73c6 Added auth header support 2022-06-25 09:44:12 +02:00
Ivan Habunek
071b117459
Generate docs 2022-03-13 14:11:59 +01:00
Ivan Habunek
d848826ec3
Fix info command 2022-03-12 08:17:51 +01:00
Ivan Habunek
45821ceb0e
Bump version, add changelog 2022-02-27 12:44:33 +01:00
Ivan Habunek
f663525d07
Fix --debug when no command is given 2022-02-27 12:23:22 +01:00
Ivan Habunek
5ae4396ab4
Add env command for printing environment info 2022-02-27 12:22:44 +01:00
Ivan Habunek
c8dd4f8efe
Remove unused import 2022-02-27 12:16:03 +01:00
Ivan Habunek
c06ba2248d
Bump version 2022-02-25 19:23:08 +01:00
Ivan Habunek
6fa3bd568d
Make clips behave similar to recent videos changes 2022-02-25 19:10:48 +01:00
Ivan Habunek
1fc5ef6bd1
Reorganize paging and limiting video list 2022-02-23 19:07:27 +01:00
Ivan Habunek
b73ab58432
Fix video output when creator is not set 2022-02-23 19:07:04 +01:00
Ivan Habunek
52651e62c8
Enable logging via --debug flag 2022-02-23 16:24:52 +01:00
Matt Calvert
4928188055
Add support for JSON output to videos command 2022-02-23 16:02:28 +01:00
Ivan Habunek
7ad574d103
Bump version 2022-02-05 15:08:51 +01:00
Ivan Habunek
2fddb0c6a4
Add support for downloading audio only 2022-02-05 14:37:52 +01:00
Ivan Habunek
fbc227017d
Bump version, add changelog 2022-02-05 09:52:06 +01:00
Ivan Habunek
b8aaa0c24c
Fix issue with downloading clips with no game set
issue #78
2022-02-05 09:50:17 +01:00
Ivan Habunek
0af472528d
Remove unused function 2022-02-05 09:50:17 +01:00
Ivan Habunek
fb73fe07c5
Add clip slug to formatting options 2022-02-05 09:36:50 +01:00
Ivan Habunek
7eb50a0fa1
Fix output formatting when game is not set
issue #87
2022-02-05 09:34:28 +01:00
Ivan Habunek
6ebe263f33
Fix issue with colons in file name
ffmpeg uses colons to define protocols, by prefixing the target with
file: this ambiguity is avoided.

issue #89
2022-02-05 09:26:10 +01:00
Ivan Habunek
310010363f
Bump version, add changelog 2022-01-25 08:22:35 +01:00
Ivan Habunek
4fd532f05d
Ask overwrite confirmation early
Ask whether to overwrite before starting download, this way once
download starts, there will be no more prompts.
2022-01-25 08:08:17 +01:00
Ivan Habunek
8156b18b37
Tweak colors 2022-01-25 07:59:54 +01:00
Ivan Habunek
b24bc0eb29
Add option to define target filename 2022-01-24 09:06:02 +01:00
Ivan Habunek
b67ccc9dde
Bump version, add changelog 2022-01-19 08:04:56 +01:00
Ivan Habunek
2f977be161
Bump version 2021-12-03 10:26:17 +01:00
Ivan Habunek
928c6d64cf
Add metadata to the encoded video file 2021-12-03 10:25:04 +01: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
caabe3138c
Remove old kraken requests 2021-09-16 08:01:31 +02:00
Ivan Habunek
9c3cf11635
Dedupe clip fields 2021-09-16 07:59:07 +02:00
Ivan Habunek
2f51b3821b
Handle video not found gracefully 2021-09-16 07:58:43 +02:00
Ivan Habunek
6f86aea493
Bump version, changelog 2021-07-31 11:44:56 +02:00
Ivan Habunek
e3f66bda43
Fix compat with older versions of python
path.join doesn't handle PosixPath instances in older versions of python
which causes breakage.

fixes #71
2021-07-31 11:41:45 +02:00
Ivan Habunek
5c3cebd0f3
Bump version, changelog 2021-06-09 15:10:39 +02:00