using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Net; namespace download { class Program { static void Main(string[] args) { int i = 0; for (int b = ; b <= ; b++) //make b equal the starting gallery and end with the last gallery. { string newPath = @"C:\Users\ \Pictures\unknown" + b + @"\"; //put in your profiles name System.IO.Directory.CreateDirectory(newPath); try { for (i = 1; i <= 200; i++) { if (i < 10) { string localFilename = newPath + "Miki-B-9-00" + i + ".jpg"; using (WebClient client = new WebClient()) { client.DownloadFile("http://cache.thumb.pinkvisual.com/320x480/" + b + "/0" + b + "/Miki-B-9-00" + i + ".jpg", localFilename); } } else if (i < 100) { string localFilename = newPath + "Miki-B-9-0" + i + ".jpg"; using (WebClient client = new WebClient()) { client.DownloadFile("http://cache.thumb.pinkvisual.com/320x480/" + b + "/0" + b + "/Miki-B-9-0" + i + ".jpg", localFilename); } } else { string localFilename = newPath + "Miki-B-9-" + i + ".jpg"; using (WebClient client = new WebClient()) { client.DownloadFile("http://cache.thumb.pinkvisual.com/320x480/" + b + "/0" + b + "/Miki-B-9-" + i + ".jpg", localFilename); } } } } catch { } } } } }