public void ChangeWallpaper(string save_path)
    {
        AstronomyPicture NewWall = GetAstronomyPicture();

        NewWall.SetWallpaper(save_path);
        default_logger.Log("[+][" + DateTime.Now.ToString() + "] Attempting to change => Success \"" + NewWall.title + "\"\n{\n    Url = " + NewWall.url + "\n    File = " + save_path + "\n}");
    }
    public AstronomyPicture GetAstronomyPicture()
    {
        AstronomyPicture    picture  = null;
        HttpResponseMessage response = client.GetAsync($"planetary/apod?api_key={ApiKey}&hd={HD.ToString()}&date={Date.ToString("yyyy-MM-dd")}").Result;

        if (response.IsSuccessStatusCode)
        {
            picture = response.Content.ReadAsAsync <AstronomyPicture>().Result;

            if (picture.media_type == "video" && AllowOnlyPicture)
            {
                Date = Date.AddDays(-1);
                return(GetAstronomyPicture());
            }
        }
        return(picture);
    }