Add BWIKI lineup archives and avatar scraping - #6
Merged
AofeiLi-code merged 1 commit intoMay 9, 2026
Merged
Conversation
AofeiLi-code
commented
May 9, 2026
Owner
Thank you for your contribution! |
This file contains hidden or 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
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
lineup_scraper.pyto archive BWIKI player lineups intodata/lineups.jsonanddata/lineups.csv, with incremental refresh based on list-page update dates.rocom_scraper.pyto parse upload-lineup avatar images from the live BWIKI page, download them through the existing URL pipeline, and support--avatars-only/--skip-avatarsmodes.data/urls.csvavatar entries and updated sprite/skill datasets.Fixes / Safety
_add_urlcache/path behavior.data/images/avatars, avoidingdata/images/spritesmixing.data/*.htmlsamples.Test Plan
python -m pytest tests/test_rocom_scraper.py tests/test_lineup_scraper.py -q->29 passedpython -m py_compile rocom_scraper.py lineup_scraper.py tests/test_rocom_scraper.py tests/test_lineup_scraper.pypython rocom_scraper.py --avatars-only-> parsed and saved 200 avatar URL rows, 0 failures