GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Add BWIKI lineup archives and avatar scraping by bupt-lxc · Pull Request #6 · AofeiLi-code/rocom-data

Conversation

@bupt-lxc

@bupt-lxc bupt-lxc commented May 6, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add lineup_scraper.py to archive BWIKI player lineups into data/lineups.json and data/lineups.csv, with incremental refresh based on list-page update dates.
  • Extend rocom_scraper.py to parse upload-lineup avatar images from the live BWIKI page, download them through the existing URL pipeline, and support --avatars-only / --skip-avatars modes.
  • Refresh generated data indexes, including data/urls.csv avatar entries and updated sprite/skill datasets.

Fixes / Safety

  • Preserve existing lineup output if all detail fetches fail, and record failed lineup/image URLs for retry.
  • Skip already-downloaded avatar images via the existing _add_url cache/path behavior.
  • Keep avatar assets separate from large sprite art under data/images/avatars, avoiding data/images/sprites mixing.
  • Add tracked avatar parser fixture so tests do not depend on ignored data/*.html samples.

Test Plan

  • python -m pytest tests/test_rocom_scraper.py tests/test_lineup_scraper.py -q -> 29 passed
  • python -m py_compile rocom_scraper.py lineup_scraper.py tests/test_rocom_scraper.py tests/test_lineup_scraper.py
  • python rocom_scraper.py --avatars-only -> parsed and saved 200 avatar URL rows, 0 failures

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@bupt-lxc
feat: add BWIKI lineups and avatar scraping
852b20d
@AofeiLi-code
AofeiLi-code merged commit ab6658b into AofeiLi-code:main May 9, 2026
@AofeiLi-code

AofeiLi-code commented May 9, 2026

Copy link
Copy Markdown
Owner

Thank you for your contribution!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

AofeiLi-code pushed a commit that referenced this pull request May 9, 2026
Aofei Li
Merge origin/main: PR #4/#5/#6 + 互动对战 / MariaDB / skill-level-ability
75bdd26
# Conflicts:
#	battle.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@bupt-lxc @AofeiLi-code
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.