Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

15
LINES

< > BotCompany Repo | #1002312 // Scrape All Adjectives

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Libraryless. Click here for Pure Java version (834L/6K/21K).

!752

p {
  File dir = getProgramFile("yo");
  File theZip = getProgramFile("adjectives.zip");
  for (int c = 0; c < 26; c++) {
    char ch = (char) ('a'+c);
    S url = "http://www.listofadjectives.org/" + ch + ".html";
    S text = loadPage(url);
    saveTextFile(new File(dir, ch + "a.html"), text);
  }
  dir2zip(dir, theZip);
  print(theZip.length());
  print(theZip);
}

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: 575 / 607
Referenced in: [show references]