Commit Graph

  • ae186be8d1 Fix imports in __main__.py Smart123s 2023-02-28 13:36:01 +01:00
  • f2926f55ec Extract version from project.toml Smart123s 2023-02-28 13:28:35 +01:00
  • b915cc6d38 Add empty lines to file ends Smart123s 2023-02-28 10:01:55 +01:00
  • c1a0b8b863 Minor changes in readme Smart123s 2023-02-28 10:00:28 +01:00
  • e8c37d4f09 Change identation in radme Smart123s 2023-02-28 08:01:24 +01:00
  • 259447f6bb Make package installable via pip Smart123s 2023-02-27 14:35:55 +01:00
  • eb84f9a5d7 Move files Smart123s 2023-02-27 14:23:50 +01:00
  • ba5b599280 Add user-agent Smart123s 2023-02-27 13:54:47 +01:00
  • 449237c0e7 Document commands in readme Smart123s 2023-02-27 13:44:12 +01:00
  • 08ac9005fd Fix logging for refresh sale cache Smart123s 2023-02-27 13:35:00 +01:00
  • 7a991e536d Claim command now refreshes cache Smart123s 2023-02-27 12:17:17 +01:00
  • 0c1d5e261e Add documentation Smart123s 2023-02-27 11:58:42 +01:00
  • 98a6bf8b04 Add interactive login Smart123s 2023-02-26 17:03:12 +01:00
  • 40f9dc5b8d Count number of removed games Smart123s 2023-02-26 16:24:20 +01:00
  • df954a1510 Add get download url Smart123s 2023-02-24 15:52:02 +01:00
  • e8cbdd9b06 Add notice if no games have been claimed Smart123s 2023-02-24 09:06:31 +01:00
  • 65719846ec Don't claim unclaimable games Smart123s 2023-02-24 08:58:24 +01:00
  • 4671945cf8 Check purchase status online is claiming fails Smart123s 2023-02-24 08:54:54 +01:00
  • 039309568d Save user session after every claim Smart123s 2023-02-24 08:54:11 +01:00
  • 39f13861b7 cli: add claim all command Smart123s 2023-02-24 08:30:22 +01:00
  • c54d608f72 Fix local game owned check Smart123s 2023-02-24 08:30:13 +01:00
  • da08354ecd cli: add refresh library command Smart123s 2023-02-24 06:30:05 +01:00
  • 3139d64071 Properly serialize ItchGame objects Smart123s 2023-02-24 06:29:12 +01:00
  • 3902f693ee cli: add command to refresh local sale cache Smart123s 2023-02-23 09:22:50 +01:00
  • fdb50c0a69 FIx load all games from disk Smart123s 2023-02-23 08:52:51 +01:00
  • c5e4bd5ad8 Move login to Fire CLI Smart123s 2023-02-23 08:27:12 +01:00
  • 92c95b1f9f Save owned games to user's session file Smart123s 2023-02-22 15:06:13 +01:00
  • aff41ae316 Fix reload_owned_games() Smart123s 2023-02-22 15:04:06 +01:00
  • 1a205ee23f Remove expired sales from disk Smart123s 2023-02-22 13:22:18 +01:00
  • 423b2f14a7 Refactor: Rename functions in DiskManager Smart123s 2023-02-22 13:18:16 +01:00
  • e0a9607d85 Rename SaleManager to DiskManager Smart123s 2023-02-22 13:17:23 +01:00
  • badc8b19c8 Make games loadable from disk Smart123s 2023-02-22 13:13:54 +01:00
  • 0718943c40 Statically type get_sale_page() Smart123s 2023-02-21 15:40:54 +01:00
  • c7c9b5d606 Move sale page parsing to a separate class Smart123s 2023-02-21 10:25:41 +01:00
  • b1670814c5 Sort sales page by newest Smart123s 2023-02-21 10:11:32 +01:00
  • 891ce4ec12 Don't create duplicate instances of ItchGame Smart123s 2023-02-21 10:06:30 +01:00
  • a233f53d7f Change unknown price from -1 to None Smart123s 2023-02-20 13:01:35 +01:00
  • f05973a531 Load user's list of owned games Smart123s 2023-02-20 13:00:14 +01:00
  • 96f4ae9804 Refactor: move claim_game, is_game_owned to User Smart123s 2023-02-20 12:50:19 +01:00
  • 4a974f8023 Make csrf_token a property Smart123s 2023-02-20 12:04:24 +01:00
  • fa3e8cd4d9 Store user data in separate directory Smart123s 2023-02-18 21:08:29 +01:00
  • 33237f2df4 Use appdirs package for retrieving config paths Smart123s 2023-02-18 20:56:35 +01:00
  • ad64d08f9d Implement sale_end property Smart123s 2023-02-18 20:18:03 +01:00
  • af56d783ab Make claimable property cached Smart123s 2023-02-18 20:10:07 +01:00
  • 94279eaf90 Extend ItchGame's attributes Smart123s 2023-02-18 19:55:56 +01:00
  • d993d431ae Add is game claimable function Smart123s 2023-02-18 15:31:07 +01:00
  • d740199f54 Add missing # char to copyright headers Smart123s 2023-02-18 14:58:13 +01:00
  • 9f4b7fd6b2 Rename init to main Smart123s 2023-02-18 14:57:40 +01:00
  • 01803951f4 Update copyright year Smart123s 2023-02-17 09:22:50 +01:00
  • e58d15743d Detect if a game had already been claimed Smart123s 2023-02-17 09:21:25 +01:00
  • 2f047b9c58 Login if no session is saved on disk Smart123s 2022-12-24 10:15:38 +01:00
  • 5a2c9aa5fe Fix expired sale Smart123s 2022-06-26 23:09:54 +02:00
  • 7c6929559a Fix no 100% sale on early page exec stop Smart123s 2022-06-26 22:16:51 +02:00
  • b2229aa937 Claim every game Smart123s 2022-06-17 14:38:55 +02:00
  • 9fccc42b46 Better log failed to claim game Smart123s 2022-06-17 14:38:25 +02:00
  • b1b347ed24 Fix currency error Smart123s 2022-06-17 14:35:16 +02:00
  • 6b5fc54737 Iterate over all sale pages Smart123s 2022-06-17 13:27:13 +02:00
  • b3b787b9cf Skip not claimable games Smart123s 2022-06-17 13:17:55 +02:00
  • 3372d36614 Remove claimable check from init Smart123s 2022-06-17 10:17:16 +02:00
  • d44b9c7dcc Rename ItchContext to ItchUser Smart123s 2022-06-17 09:57:58 +02:00
  • d13affd5fc Move game related code to ItchGame Smart123s 2022-06-17 09:43:44 +02:00
  • 1f3270d8f1 Parse games from sale page Smart123s 2022-06-17 09:35:48 +02:00
  • eeec325c4c Download list of games on sale Smart123s 2022-06-14 07:42:42 +02:00
  • 7b24c45344 Add claim game Smart123s 2022-06-13 17:04:49 +02:00
  • 8630cd27ec Save session to file Smart123s 2022-06-12 18:51:05 +02:00
  • a6cbaab24e Add .gitignore Smart123s 2022-06-12 17:19:28 +02:00
  • 8897f24029 Add login Smart123s 2022-06-12 16:49:57 +02:00
  • 9a21faccae Initial commit Smart123s 2022-06-12 16:35:16 +02:00