Пример #1
0
        static void Main(string[] args)
        {
            string        address          = "https://pikabu.ru/";
            DirectoryInfo projectDirectory = new DirectoryInfo(@"..\..");
            var           pathToSaveSite   = projectDirectory.FullName + @"\PathToSaveSite\";
            var           pathToSaveFiles  = projectDirectory.FullName + @"\PathToSaveSite\files\";
            Copier        copier           = new Copier(address, pathToSaveSite, pathToSaveFiles);

            copier.SaveSiteCopy();

            Console.ReadLine();
        }