mirror of
https://github.com/knightcrawler-stremio/knightcrawler.git
synced 2024-12-20 03:29:51 +00:00
Changed from page scraping to rss xml scraping Includes RealDebridManager hashlist decoding (requires a github readonly PAT as requests must be authenticated) - This allows ingestion of 200k+ entries in a few hours. Simplifies a lot of torrentio to deal with new data
17 lines
361 B
C#
17 lines
361 B
C#
var builder = WebApplication.CreateBuilder(args);
|
|
|
|
builder.Configuration
|
|
.AddScrapeConfiguration();
|
|
|
|
builder.Host
|
|
.SetupSerilog(builder.Configuration);
|
|
|
|
builder.Services
|
|
.RegisterMassTransit(builder.Configuration)
|
|
.AddDataStorage()
|
|
.AddCrawlers()
|
|
.AddQuartz(builder.Configuration);
|
|
|
|
var host = builder.Build();
|
|
|
|
await host.RunAsync(); |