Commit Graph

307 Commits

Author SHA1 Message Date
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
141ecb7f29
Move entities to entites.py 2024-08-24 20:23:34 +02:00
Ivan Habunek
52b96aab15
Simplify persisted queries 2024-08-24 20:08:01 +02:00
Ivan Habunek
1bdf6a2c02
Remove unused function 2024-08-24 20:05:32 +02:00
Ivan Habunek
38636e2b21
Use ansi escape code to clear line 2024-05-31 12:57:51 +02:00
Ivan Habunek
3fe1faa18e
Update changelog 2024-05-19 09:11:45 +02:00
KryptonicDragon
a99a472ad3 add quotes to gql query 2024-05-19 09:09:02 +02:00
Ivan Habunek
47d62bc471
Improve types 2024-04-29 09:08:19 +02:00
Ivan Habunek
de95384e6b
Fix tests 2024-04-28 10:16:33 +02:00
Ivan Habunek
aac450a5bc
Calculate progress only when printing progress 2024-04-28 10:13:47 +02:00
Ivan Habunek
9549679679
Make Progress not a dataclass 2024-04-28 10:09:53 +02:00
Ivan Habunek
35e974bb45
Upgrade m3u8 dependency 2024-04-28 09:30:24 +02:00
Ivan Habunek
b8e3809810
Print a note if no ids given 2024-04-28 08:02:01 +02:00
Ivan Habunek
cf580fde09
Update changelog 2024-04-27 20:23:35 +02:00
Ivan Habunek
68c9e644a8
Sort playlists 2024-04-27 20:22:53 +02:00
Ivan Habunek
ace4427caa
Print playlists in a table 2024-04-27 20:22:53 +02:00
Ivan Habunek
97f48f7108
Improve playlist parsing
Better support for "enhanced broadcast" streams

issue #154
2024-04-27 20:22:53 +02:00
Ivan Habunek
f9e553c61f
Support styling in print_table 2024-04-27 20:22:53 +02:00
Ivan Habunek
4fac6c11c5
Delete generated website when cleaning 2024-04-27 20:22:52 +02:00
Ivan Habunek
125bc693f8
Update changelog 2024-04-25 07:33:05 +02:00
Ivan Habunek
8a7fdad22f
Test m patterns 2024-04-25 07:31:52 +02:00
Alex Grant
c00a9c3597 Add support for m dot urls 2024-04-25 07:29:59 +02:00
Ivan Habunek
0f17d92a8c
Update changelog 2024-04-24 14:54:31 +02:00
Ivan Habunek
ee1e0ce853
Upgrade actions/setup-python to v5 2024-04-24 14:52:42 +02:00
Ivan Habunek
1c878bbca8
Update changelog 2024-04-24 14:51:08 +02:00
Ivan Habunek
941440de41
Upgrade actions/checkout to v4 2024-04-24 14:50:50 +02:00
Ivan Habunek
c0eae623a4
Test clips 2024-04-24 14:45:49 +02:00
Ivan Habunek
f4d0643b07
Fix flaky test 2024-04-24 14:41:48 +02:00
Ivan Habunek
ea4b714343
Test videos command 2024-04-24 14:39:17 +02:00
Ivan Habunek
f815934e15
Simplify and test get_game_ids 2024-04-24 14:39:12 +02:00
Ivan Habunek
5aa323e3e5
Log response content 2024-04-24 14:11:22 +02:00
Ivan Habunek
3d03658850
Add tests 2024-04-24 08:59:01 +02:00
Ivan Habunek
69b848d341
Respect --dry-run when downloading videos 2024-04-24 08:58:58 +02:00
Ivan Habunek
2422871d70
Add request logging 2024-04-24 08:43:45 +02:00
Ivan Habunek
44890b4101
Pass auth_token instead of headers 2024-04-24 08:43:00 +02:00
Ivan Habunek
9aa108acbf
Add type hints for post 2024-04-24 08:42:01 +02:00
Ivan Habunek
3fa8bcef73
Pass request as content instead of data
data works, but should be used for form data passed as a dict, while
content takes bytes or str
2024-04-24 08:41:19 +02:00
Ivan Habunek
3c0f8a8ece
Add some cli tests 2024-04-24 08:38:55 +02:00
Ivan Habunek
7845cf6f72
Improve typing 2024-04-24 08:11:33 +02:00
Ivan Habunek
6ed98fa4ef
Fix tuple typing to work on py 3.8 2024-04-24 08:10:56 +02:00
Ivan Habunek
d777f0e98a
Set up testing on github 2024-04-24 08:10:20 +02:00
Ivan Habunek
ad0f0d2a41
Update changelog 2024-04-23 18:14:22 +02:00
Ivan Habunek
1057fff61a
Hopefully fix python 3.8 compat 2024-04-23 18:13:40 +02:00
Ivan Habunek
f1924715ed
Apply formatting 2024-04-23 17:35:46 +02:00
Ivan Habunek
ca38b9239f
Update changelog 2024-04-23 17:25:48 +02:00
Ivan Habunek
a0ad66ee69
Remove union types to fix python 3.8 compat 2024-04-23 17:15:18 +02:00
Ivan Habunek
e50499351b
Make printing progress a bit more readable 2024-04-12 09:43:04 +02:00
Ivan Habunek
0d3c3df2f8
Fix double colon in prompt 2024-04-10 08:47:38 +02:00
Ivan Habunek
446b4f9f91
Fix progress calc when video duration is 0
fixes #146
2024-04-10 08:47:11 +02:00
Ivan Habunek
bce573ef3c
Update changelog 2024-04-10 08:32:21 +02:00