mirror of
https://github.com/Abdess/retrobios.git
synced 2026-04-20 13:57:46 +00:00
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). |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| base_scraper.py | ||
| batocera_scraper.py | ||
| coreinfo_scraper.py | ||
| dat_parser.py | ||
| emudeck_scraper.py | ||
| libretro_scraper.py | ||
| recalbox_scraper.py | ||
| retrobat_scraper.py | ||