Commit Graph

274 Commits

Author SHA1 Message Date
DevilXD
35c46c2b78 Implement a dynamic tray icon status picture 2024-07-01 21:20:27 +02:00
DevilXD
da050828c1 Ensure no user ID is present in dropInstanceID 2024-07-01 16:17:58 +02:00
DevilXD
f5d5fc3a05 Add a way for the application to dump inventory data into a file 2024-06-30 12:01:03 +02:00
DevilXD
e34d1bb2da Update CurrentDrop tracking elsewhere in the code 2024-06-23 09:54:27 +02:00
DevilXD
7b0f25d5d0 Introduce back GQL progress querying;
to ensure more accurate drop progress
2024-06-23 09:40:37 +02:00
DevilXD
b47b2089c0 Implement channel watching using the new method 2024-06-22 18:16:14 +02:00
DevilXD
0baed05c21 Remove selenium, chrome and integrity handling 2024-06-20 22:55:36 +02:00
DevilXD
a536dde677 Add exception-catchers that point out exactly which game or channel causes a crash 2024-02-17 11:31:37 +01:00
guihkx
dbd3cd82a0 Move ClientType into Twitch class as an attribute
This allows us to use the base URL as specified in ClientInfo for
requests made to Twitch.

Previously, we'd hardcode "www.twitch.tv" as the base URL to make
channel-related requests, but because we're currently spoofing the
mobile client, that would always cause a HTTP redirect to m.twitch.tv.

This change avoids that HTTP redirect, and potentially saves a whopping
150 ms (or more 😱) when making channel-related requests.

Co-authored-by: DevilXD <4180725+DevilXD@users.noreply.github.com>
2024-02-14 14:51:37 +01:00
DevilXD
efe601aeb1 Pass-through for SSL cert verification errors 2023-12-26 21:00:57 +01:00
DevilXD
5271d6aa2d Detect completed drops via notifications feed 2023-11-04 15:31:39 +01:00
DevilXD
1d26988721 Fix slug generation method 2023-10-19 22:09:29 +02:00
DevilXD
5e862f9543 Remove processing of tags;
- Removes all logic related to stream tags processing
- Implements a new method of fetching live non-ACL channels, with drops enabled
- Minor logic cleanup changes
2023-10-15 12:06:58 +02:00
DevilXD
fc1f3ed70a Handle "context deadline exceeded" GQL error 2023-10-12 15:42:33 +02:00
DevilXD
e16ddeaa7b Differentiate CLIENT_URL between different clients 2023-08-18 20:41:24 +02:00
DevilXD
9e061bc15e Update from_directory to not set the drops tag anymore 2023-08-17 21:58:32 +02:00
DevilXD
d5410b2aa5 Add connection_quality setting (hidden for now) 2023-08-16 22:41:20 +02:00
DevilXD
70035cde36 Switch to MOBILE_WEB Client ID 2023-08-15 20:30:27 +02:00
DevilXD
ab9a8312ce Add exp backoff to GQL 2023-08-06 09:32:06 +02:00
DevilXD
e500569c33 Handle GQL service unavailable 2023-08-06 09:28:00 +02:00
DevilXD
a7c3925e53 Remove the drops_enabled tag from stream search operation 2023-06-18 10:05:09 +02:00
DevilXD
2d1dfe007c Handle most cases of cookie and image cache loading errors 2023-06-03 23:03:52 +02:00
DevilXD
1df916f91e TEMPFIX: Disable the drops_enabled check 2023-05-17 10:04:13 +02:00
DevilXD
330eb4f184 Remove undetected-chromedriver from dependencies 2023-04-23 10:06:07 +02:00
DevilXD
14b02591c6 Fix an issue with specific campaigns causing mining to get stuck until reload 2023-02-28 17:07:27 +01:00
DevilXD
e511932339 Handle GQL service error too 2023-02-27 17:06:25 +01:00
DevilXD
acbd45beda Fix GQL requests not sending the proper user agent 2022-12-24 10:46:21 +01:00
DevilXD
348d039b28 Prevent others from mismatching their authentication token with the current, different client ID 2022-12-24 10:10:07 +01:00
DevilXD
3892dfe59e Implement SmartTV OAuth2 login flow 2022-12-23 13:18:23 +01:00
DevilXD
7dc474286f Minor cleanup of comments, typing and gitignore 2022-12-23 13:17:47 +01:00
DevilXD
28c0f8b75e Streamline user agent and client ID access 2022-12-22 13:14:44 +01:00
DevilXD
d100c4b7ff Ensure all possible time triggers are included 2022-12-19 08:50:10 +01:00
DevilXD
5bf56f7c0d Differentiate mnt task logging points claim vs reload 2022-12-16 08:44:33 +01:00
DevilXD
f5b1cb46aa Fix mnt task printing timestamps as UTC instead of local time 2022-12-15 22:27:58 +01:00
DevilXD
61304a2843 Add CALL logging to the maintenance task 2022-12-15 18:00:10 +01:00
DevilXD
751178c04c Add a print for a watching message in the output window 2022-12-15 11:36:46 +01:00
DevilXD
cb8d76b602 Add CALL logging to the watch loop 2022-12-14 23:20:18 +01:00
DevilXD
07708e9ab1 Improve on the CALL logging, added useful comments 2022-12-14 14:43:02 +01:00
DevilXD
f9b8d8e9a8 Fixes Terminating error in v15.dev #97 2022-12-14 08:45:17 +01:00
DevilXD
b6bc2e11cf Add an additional CALL logging level 2022-12-13 22:40:30 +01:00
DevilXD
91917c2e6d Add some event calls logging 2022-12-12 22:47:19 +01:00
DevilXD
73b96185e9 Fix unboundlocalerror 2022-12-12 10:06:37 +01:00
DevilXD
5751f96882 Implement handling for broadcast-settings-update 2022-12-11 18:39:38 +01:00
DevilXD
577a428de2 Handle 2004 login error code;
add regex validation to the username
2022-12-08 17:52:18 +01:00
DevilXD
db6807710f Fix service timeout GQL handling 2022-12-08 14:43:30 +01:00
DevilXD
76467bad65 Review and adjust the logging module levels 2022-12-07 14:41:47 +01:00
DevilXD
51b2da3e42 Add timestamps to output messages 2022-12-07 13:49:52 +01:00
DevilXD
57baa4fc1e Disable chrome login;
since it doesn't work anyway
2022-12-07 13:01:06 +01:00
DevilXD
a33c93aa83 Make the drop claim text in the output window look better 2022-12-03 13:09:50 +01:00
DevilXD
64a7bdc6fd Add proxy handling to get_session 2022-12-02 20:39:39 +01:00