-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimize Initial Path of Exile Script (#10)
* refactor: refactor poe initial script's data fetching-parsing flow - add API base url as constant - add docstrings for save items and write to disk functions - create function to get category by name - add functions to get and parse/serialize item api data * refactor: switch to producer-consumer implementation for poe initial script - read parsed item data from queue and bulk insert into DB - parse items and add them to list, pushing list to queue on certain size - concurrently run producer-consumer code using task groups
- Loading branch information
1 parent
b10e9e7
commit 4f1f360
Showing
1 changed file
with
146 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters