Esempio n. 1
0
    private static void DownloadImageFile(string url, string folder)
    {
        Console.Write("folder " + Prints.Arrow());
        folder = Console.ReadLine();

        Downloader.DownloadImage(url, folder);
    }
Esempio n. 2
0
 public static void DownloadMenu()
 {
     Console.ForegroundColor = ConsoleColor.DarkMagenta;
     Console.WriteLine("Select what you want to download:");
     Console.ResetColor();
     Console.WriteLine("1 - Video/Audio");
     Console.WriteLine("2 - Image");
     Console.Write(Prints.Arrow());
 }
Esempio n. 3
0
        static void Main(string[] args)
        {
            while (true)
            {
                Console.WriteLine(Prints.Blank());

                Console.WriteLine(Prints.WelcomeMessage());
                Console.WriteLine(Prints.WelcomeMessageHelp());

                Console.WriteLine(Prints.Blank());

                Console.Write(Prints.Arrow());

                string userInput = Console.ReadLine();
                UserCommands.ReturnUserCommandInformation(userInput);
            }
        }
Esempio n. 4
0
    public static void SetURLPath()
    {
userChoice:

        Console.WriteLine(Prints.Blank());

        Console.Write(Strings.PATH + " " + Prints.Arrow());
        string path = Console.ReadLine();

        if (!Validator.IsValidDefaultPathRequest(path))
        {
            Prints.InvalidDefaultPath();

            goto userChoice;
        }

        DefaultFolder.CreateFile(path);

        Prints.Done();
    }