private const int delay = 1000; //in ms

        public CvOnlineScrapeService(IScraper scraper, CvOnlineConfiguration configuration)
            : base(scraper, configuration)
        {
            _scraper = scraper;

            _scrapeSettings = configuration;
        }
Beispiel #2
0
 public ScrapeServiceBase(IScraper scraper, IScrapeConfiguration scrapeSettings)
 {
     _scraper        = scraper ?? throw new ArgumentNullException(nameof(scraper));
     _scrapeSettings = scrapeSettings ?? throw new ArgumentNullException(nameof(scrapeSettings));
 }
 public CvBankasScrapeService(IScraper scraper, CvBankasConfiguration cvBankasConfiguration)
     : base(scraper, cvBankasConfiguration)
 {
     _scraper        = scraper;
     _scrapeSettings = cvBankasConfiguration;
 }
Beispiel #4
0
 public CvMarketScrapeService(IScraper scraper, CvMarketConfiguration configuration)
     : base(scraper, configuration)
 {
     _scraper        = scraper;
     _scrapeSettings = configuration;
 }