public YtCollect(YtStore store, ISimpleFileStore simpleFileStore, AppCfg cfg, ILogger log) { Yt = store; Store = simpleFileStore; Cfg = cfg; Log = log; }
public static YtStore YtStore(this Cfg cfg, ILogger log) { var reader = new YtClient(cfg.App, log); var ytStore = new YtStore(reader, cfg.DataStore(cfg.App.Storage.DbPath)); return(ytStore); }
public YtDataUpdater(YtStore store, AppCfg cfg, UpdateType updateType, Func <Task <DbConnection> > getConnection, ILogger log) { UpdateType = updateType; GetConnection = getConnection; Store = store; Cfg = cfg; Log = log; Scraper = new YtScraper(cfg.Scraper); Api = new YtClient(cfg.YTApiKeys, log); }
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; }
public YtDataUpdater(YtStore store, AppCfg cfg, ILogger log) { Yt = store; Cfg = cfg; Log = log; }
public UserScrape(AzureContainers containers, RootCfg rootCfg, UserScrapeCfg cfg, SemVersion version, YtStore store) { Containers = containers; RootCfg = rootCfg; Cfg = cfg; Version = version; Store = store.Store; }
public static YtStore YtStore(this Cfg cfg, ILogger log) { var ytStore = new YtStore(cfg.DataStore(cfg.App.Storage.DbPath), log); return(ytStore); }