Skip to content

refactor: extract Imoti scraper source module - #7

Open
Rimus0cod wants to merge 8 commits into
mainfrom
refactor/imoti-source
Open

Rimus0cod wants to merge 8 commits into
mainfrom
refactor/imoti-source

Conversation

@Rimus0cod

@Rimus0cod Rimus0cod commented Oct 5, 2026 •

Copy link
Copy Markdown
Owner

Goal

Continue decomposing app/services/async_scraper.py one source at a time.

Changes

  • add app/scraper/sources/imoti.py
  • extract Imoti list-page parsing
  • extract exact Imoti card parsing
  • extract Imoti detail enrichment
  • extract Imoti seller/phone/contact-name helpers
  • delegate BaseScraper Imoti behavior to ImotiSourceParser
  • remove Imoti-specific parser/detail methods from async_scraper.py
  • add offline regression tests for Imoti exact-card parsing and detail enrichment
  • run both ALO and Imoti source regression tests in CI

Validation — CI run #40

  • Ruff: pass
  • Ruff format check: pass
  • ALO + Imoti source regression tests: pass
  • MyPy strict: pass
  • TypeScript check: pass
  • Vite production build: pass
  • Docker image build step: pass

Scope

HTTP, retry/backoff, generic parser behavior, filtering, and other sources remain unchanged.

Next source after merge: split the remaining generic source handling for dom.ria.com, olx.ua, and lun.ua into dedicated source modules without changing shared HTTP behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant