Commit Graph

14 Commits (e050d13aa7082e068d454e48d3f4eb7fa661eb24)

Author SHA1 Message Date
Joshua Potter e050d13aa7 Add class for wrapping around exports. 2023-11-30 17:30:28 -07:00
Joshua Potter bc2ffeae9d
Add a scraper for lichess. (#2) 2023-11-30 15:36:44 -07:00
Joshua Potter 10801b560c
Generalize in anticipation of merging the lichess scraper. (#1)
* Add a general `Scraper` class.

* Setup main as primary entrypoint.

* Abstract original scraper into scraper class.

* Add better logging and cleaner bash commands.

* Ensure exporting works.
2023-11-30 15:15:15 -07:00
Joshua Potter 3cc31f8f24 Add guard on failed page download. 2023-11-28 07:57:05 -07:00
Joshua Potter fe2e504de9 Package into app for `nix build`. 2023-11-28 05:53:09 -07:00
Joshua Potter 27577aa5b0 Add `mypy` and lock poetry dependencies. 2023-11-28 04:55:09 -07:00
Joshua Potter 99c89a3a6d Restructure and add documentation. Require specifying user-agent. 2023-11-27 20:06:42 -07:00
Joshua Potter 7308c47eb5 Have requests actually use the `chesscom_request` function. 2023-11-27 14:28:10 -07:00
Joshua Potter 97cdb3b9cd Add User-Agent to requests. 2023-11-27 14:13:56 -07:00
Joshua Potter 1a4199e95d Add README descriptions. 2023-11-27 14:13:46 -07:00
Joshua Potter 932d97bf3b Create intermediate directories and explicit f-strings. 2023-11-27 13:53:51 -07:00
Joshua Potter 659988355c Fix classname. 2023-11-27 13:41:06 -07:00
Joshua Potter 23aa622126 Break coach listing download per-page. 2023-11-27 13:32:56 -07:00
Joshua Potter 1710e1aefa Initial commit. 2023-11-27 13:09:40 -07:00