Commit Graph
286 Commits
Author SHA1 Message Date
DevilXD e9a254ad0a "Adding campaigns" phase now starts at 0 2024-09-14 14:02:30 +02:00
DevilXD a30e8d3ce4 Add a prioritization strategy for games outside of the priority list 2024-09-11 22:58:48 +02:00
DevilXD 0551f49a3d Fix can_watch ignoring drops_enabled status 2024-09-10 14:38:44 +02:00
DevilXD 86f339f4f6 Treat ClientPayloadError as a failed request 2024-09-02 09:59:37 +02:00
DevilXD f705cc1527 Don't set ACL channels online immediately 2024-08-07 22:47:50 +02:00
Nazar f92b855c9d Change client type to android app 2024-08-05 21:57:49 +03:00
DevilXD b20f98da7a Allow some GQL operations to silently fail 2024-08-04 15:16:52 +02:00
DevilXD 4dcabeeb9e Exceptions cleanup 2024-08-04 15:08:40 +02:00
DevilXD 9779d7a2c8 Handle Unauthorized being returned by GQL 2024-08-02 21:15:13 +02:00
DevilXD 016955c8ba Critical tasks now cause the app to exit, instead of letting it continue with broken functionality 2024-07-16 18:16:31 +02:00
DevilXD f32c8f25d8 Speed up app loading by fetching inventory images concurrently 2024-07-16 17:54:34 +02:00
DevilXD c763063714 Added possible GQL error to be handled later 2024-07-14 08:11:16 +02:00
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
guihkxandDevilXD 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