Brings up the pull-model scraper: the .NET C2 hands skin+wear jobs to Python nodriver workers that scrape cs.money and post results back, plus the supporting Core/EFCore data model, migrations, and docker-compose orchestration. IPRoyal proxying lets workers scale horizontally with a distinct residential exit IP each: every worker process mints its own sticky session at startup, and an in-process forwarding proxy injects the gateway auth so Chromium talks only to an auth-free localhost endpoint (zero CDP). On a Cloudflare challenge a worker rotates to a fresh session/IP and re-warms. Verified end-to-end against live IPRoyal: distinct US residential exits per worker and IP rotation on demand. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
18 lines
720 B
C#
18 lines
720 B
C#
namespace BlueLaminate.Core.Listings;
|
|
|
|
/// <param name="Pages">How many API pages were fetched.</param>
|
|
/// <param name="Seen">Total listings returned across those pages.</param>
|
|
/// <param name="Inserted">New listings inserted.</param>
|
|
/// <param name="Updated">Existing listings refreshed (price/last-seen/etc.).</param>
|
|
/// <param name="Removed">Listings flagged Removed (only on a complete pass).</param>
|
|
/// <param name="Linked">Listings resolved to a catalogue skin by def/paint.</param>
|
|
/// <param name="StoppedReason">Why the sweep ended.</param>
|
|
public sealed record ListingSweepResult(
|
|
int Pages,
|
|
int Seen,
|
|
int Inserted,
|
|
int Updated,
|
|
int Removed,
|
|
int Linked,
|
|
string StoppedReason);
|