Libraryless. Click here for Pure Java version (834L/6K/21K).
1 | !752 |
2 | |
3 | p {
|
4 | File dir = getProgramFile("yo");
|
5 | File theZip = getProgramFile("adjectives.zip");
|
6 | for (int c = 0; c < 26; c++) {
|
7 | char ch = (char) ('a'+c);
|
8 | S url = "http://www.listofadjectives.org/" + ch + ".html"; |
9 | S text = loadPage(url); |
10 | saveTextFile(new File(dir, ch + "a.html"), text); |
11 | } |
12 | dir2zip(dir, theZip); |
13 | print(theZip.length()); |
14 | print(theZip); |
15 | } |
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, teubizvjbppd, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1002312 |
| Snippet name: | Scrape All Adjectives |
| Eternal ID of this version: | #1002312/1 |
| Text MD5: | 50593674ccb63621ed8d4e2bacd20724 |
| Transpilation MD5: | 142abd975ed84cace45c0a358f334ce3 |
| Author: | stefan |
| Category: | nl bots |
| Type: | JavaX source code |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2016-01-04 18:19:58 |
| Source code size: | 389 bytes / 15 lines |
| Pitched / IR pitched: | No / Yes |
| Views / Downloads: | 893 / 999 |
| Referenced in: | [show references] |