예제 #1
0
 public YtCollector(YtStore store, AppCfg cfg, SnowflakeConnectionProvider sf, IPipeCtx pipeCtx, WebScraper webScraper, ChromeScraper chromeScraper,
                    YtClient api)
 {
     Store         = store;
     Cfg           = cfg;
     Sf            = sf;
     PipeCtx       = pipeCtx;
     Scraper       = webScraper;
     ChromeScraper = chromeScraper;
     Api           = api;
 }
예제 #2
0
 public YtCollector(BlobStores stores, AppCfg cfg, SnowflakeConnectionProvider sf, IPipeCtx pipeCtx, YtWeb ytWeb, ChromeScraper chromeScraper,
                    YtClient api, ILogger log)
 {
     DbStore       = new(stores.Store(DataStoreType.DbStage), log);
     Cfg           = cfg;
     Sf            = sf;
     PipeCtx       = pipeCtx;
     Scraper       = ytWeb;
     ChromeScraper = chromeScraper;
     Api           = api;
 }
예제 #3
0
 public TestChromeScraperCmd(ChromeScraper scraper, ILogger log)
 {
     Scraper = scraper;
     Log     = log;
 }