SHOW:
|
|
- or go back to the newest paste.
1 | using System; | |
2 | using System.Collections.Generic; | |
3 | using System.Linq; | |
4 | using System.Text; | |
5 | using System.Net; | |
6 | ||
7 | namespace download | |
8 | { | |
9 | class Program | |
10 | { | |
11 | static void Main(string[] args) | |
12 | { | |
13 | int i = 0; | |
14 | - | for (int b = 11620; b <= 12237; b++) |
14 | + | for (int b = ; b <= ; b++) //make b equal the starting gallery and end with the last gallery. |
15 | { | |
16 | - | string newPath = @"C:\Users\Jacob\Pictures\unknown" + b + @"\"; |
16 | + | string newPath = @"C:\Users\ \Pictures\unknown" + b + @"\"; //put in your profiles name |
17 | System.IO.Directory.CreateDirectory(newPath); | |
18 | try | |
19 | { | |
20 | for (i = 1; i <= 200; i++) | |
21 | { | |
22 | if (i < 10) | |
23 | { | |
24 | string localFilename = newPath + "Miki-B-9-00" + i + ".jpg"; | |
25 | using (WebClient client = new WebClient()) | |
26 | { | |
27 | client.DownloadFile("http://cache.thumb.pinkvisual.com/320x480/" + b + "/0" + b + "/Miki-B-9-00" + i + ".jpg", localFilename); | |
28 | } | |
29 | } | |
30 | else if (i < 100) | |
31 | { | |
32 | string localFilename = newPath + "Miki-B-9-0" + i + ".jpg"; | |
33 | using (WebClient client = new WebClient()) | |
34 | { | |
35 | client.DownloadFile("http://cache.thumb.pinkvisual.com/320x480/" + b + "/0" + b + "/Miki-B-9-0" + i + ".jpg", localFilename); | |
36 | } | |
37 | } | |
38 | else | |
39 | { | |
40 | string localFilename = newPath + "Miki-B-9-" + i + ".jpg"; | |
41 | using (WebClient client = new WebClient()) | |
42 | { | |
43 | client.DownloadFile("http://cache.thumb.pinkvisual.com/320x480/" + b + "/0" + b + "/Miki-B-9-" + i + ".jpg", localFilename); | |
44 | } | |
45 | } | |
46 | } | |
47 | } | |
48 | catch | |
49 | { | |
50 | ||
51 | } | |
52 | } | |
53 | } | |
54 | } | |
55 | } |