v2026.04.02/scripts
Abdessamad Derraz 3de4bf8190 refactor: extract _fetch_raw to BaseScraper (DRY)
Identical _fetch_raw() implementation (URL fetch + cache + error handling)
was duplicated in 4 scrapers. Moved to BaseScraper.__init__ with url param.

Each scraper now passes url to super().__init__() and inherits _fetch_raw().
Eliminates ~48 lines of duplicated code.

DRY audit now clean: resolve logic in common.py, scraper CLI in base_scraper,
_fetch_raw in BaseScraper. Remaining duplications are justified (different
list_platforms semantics, context-specific hash computation).
2026-03-18 08:22:21 +01:00
..
scraper refactor: extract _fetch_raw to BaseScraper (DRY) 2026-03-18 08:22:21 +01:00
auto_fetch.py refactor: quality audit fixes, honest verification reporting 2026-03-17 15:35:30 +01:00
common.py refactor: extract resolve_local_file to common.py (DRY) 2026-03-18 08:11:10 +01:00
cross_reference.py feat: add emulator profiles and cross-reference engine (tier 2) 2026-03-17 20:08:27 +01:00
dedup.py refactor: fix code review findings across all scripts 2026-03-17 15:16:51 +01:00
download.py refactor: fix code review findings across all scripts 2026-03-17 15:16:51 +01:00
download.sh update all references from retroarch_system to retrobios 2026-03-17 11:17:50 +01:00
generate_db.py feat: batocera 679/680, fix variant indexing, add hikaru + segaboot 2026-03-17 17:06:02 +01:00
generate_pack.py refactor: extract resolve_local_file to common.py (DRY) 2026-03-18 08:11:10 +01:00
generate_readme.py refactor: fix code review findings across all scripts 2026-03-17 15:16:51 +01:00
list_platforms.py refactor: fix code review findings across all scripts 2026-03-17 15:16:51 +01:00
migrate.py v2: automated BIOS platform with full pipeline 2026-03-17 10:54:39 +01:00
validate_pr.py refactor: consolidate CI pipeline, remove third-party deps 2026-03-17 12:33:10 +01:00
verify.py refactor: extract resolve_local_file to common.py (DRY) 2026-03-18 08:11:10 +01:00