mirror of
https://github.com/knightcrawler-stremio/knightcrawler.git
synced 2024-12-20 03:29:51 +00:00
Was a little inspired. Now we have a database (self populating) of imdb id's - why shouldn't we actually have the ability to scrape any other instance of torrentio, or knightcrawler? Also restructured the producer to be vertically sliced to make it easier to work with Too much flicking back and forth between Jobs and Crawlers when configuring
13 lines
579 B
C#
13 lines
579 B
C#
using Literals = Producer.Features.JobSupport.Literals;
|
|
|
|
namespace Producer.Features.Crawlers.Dmm;
|
|
|
|
[DisallowConcurrentExecution]
|
|
[ManualJobRegistration]
|
|
public class SyncDmmJob(ICrawlerProvider crawlerProvider) : BaseJob(crawlerProvider)
|
|
{
|
|
private const string JobName = nameof(DebridMediaManagerCrawler);
|
|
public static readonly JobKey Key = new(JobName, nameof(Literals.CrawlersJobs));
|
|
public static readonly TriggerKey Trigger = new($"{JobName}-trigger", nameof(Literals.CrawlersJobs));
|
|
protected override string Crawler => nameof(DebridMediaManagerCrawler);
|
|
} |