feat: skill level, ability/image scraping, skills.csv, urls.csv - #4
Merged
AofeiLi-code merged 2 commits intoMay 1, 2026
Merged
Conversation
bupt-lxc
force-pushed
the
feat/skill-level-ability-images
branch
from
April 23, 2026 06:26
be14a45 to
7d10e03
Compare
added 2 commits
April 23, 2026 14:34
…rce flag - parse_skills: add level field (LV\d+ from rocom_sprite_skill_level) - parse_sprite_detail: scrape ability icon, sprite image, matchup icons - _add_url/_flush_urls: incremental urls.csv with per-type image download - _save_skills_csv: deduplicated skills.csv (no 所属精灵 column) - main: skip already-scraped sprites by default; --force clears and re-scrapes all
bupt-lxc
force-pushed
the
feat/skill-level-ability-images
branch
from
April 23, 2026 06:41
7d10e03 to
c9b5258
Compare
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 free
to 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
Bug Fixes (previously PR #3)
New Features
parse_skills()新增level字段,从rocom_sprite_skill_level解析LV\d+data/images/各子目录skills_all.csv--force参数:强制重爬所有精灵数据(图片已存在则跳过下载)Test Plan
python rocom_scraper.py --limit 5— 验证跳过逻辑sprites.json技能含level字段urls.csv边爬边写,五种图片类型均有记录skills.csv去重,列名正确data/images/各子目录图片正常下载