Add scrape/ingestion engine + validation, and 24h shift hour-range visualization
Scrape engine (Services/Scraping/): pluggable IListingSource (working sample + Telegram/Divar credential-ready stubs) → IngestionService (content-hash dedupe → parse → validate → review queue) → ListingValidator (completeness score + spam screen) → IngestionWorker (config-gated hosted service). RawListing gains ContentHash/Confidence/ValidationNotes; RawListingStatus.Flagged. Admin /Admin gets run-now, source list, confidence + flagged queue. Hour-range viz: _HourBar 24h timeline bar (colored by type, overnight wrap) on shift cards, recommendation cards, and detail. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -11,5 +11,11 @@
|
||||
},
|
||||
"Auth": {
|
||||
"AdminPhone": "09120000000"
|
||||
},
|
||||
"Ingestion": {
|
||||
"Enabled": false,
|
||||
"IntervalMinutes": 30,
|
||||
"Telegram": { "Enabled": false, "BotToken": "", "Channels": [] },
|
||||
"Divar": { "Enabled": false, "City": "tehran", "Queries": [] }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user