public static void Main(string[] args) { Config = LoadConfig(args); if (Config != null) { Initialization(Config); var Ids = Reader.GetInputData(); Logger.Log("Read " + Ids.Count + " ids from " + Config.ReaderPath); var DataScrapper = new Parser(Ids, Parsers, Store, Logger); Logger.Log("Initialize data scrapper"); DataScrapper.Execute(); Logger.Log("Execution complete"); Driver.Quit(); Logger.Log("IE Driver Closed"); } #if DEBUG == false Console.WriteLine("Press any key to exit"); Console.ReadKey(); #endif }