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>
37 lines
1.7 KiB
XML
37 lines
1.7 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>net10.0</TargetFramework>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<Nullable>enable</Nullable>
|
|
<UserSecretsId>a768c8b7-60e5-4914-8594-db709ad9929c</UserSecretsId>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<!-- Design-time only (the IDesignTimeDbContextFactory reads it for `dotnet ef`).
|
|
Kept in the build output but NOT published: otherwise it flows transitively
|
|
into a consumer's publish (e.g. BlueLaminate.C2) and collides with that
|
|
project's own appsettings.json (NETSDK1152). -->
|
|
<None Update="appsettings.json"
|
|
CopyToOutputDirectory="PreserveNewest"
|
|
CopyToPublishDirectory="Never" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="EFCore.NamingConventions" />
|
|
<!-- Pin the runtime EF Core version so it flows transitively to consumers
|
|
(the Design package is PrivateAssets=all and won't). Keeps the version
|
|
the library compiles against in sync with what the CLI links. -->
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" />
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Design">
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
<PrivateAssets>all</PrivateAssets>
|
|
</PackageReference>
|
|
<PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" />
|
|
<PackageReference Include="Microsoft.Extensions.Configuration.Json" />
|
|
<PackageReference Include="Microsoft.Extensions.Configuration.UserSecrets" />
|
|
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|