Download Jar. Libraryless. Click here for Pure Java version (6095L/40K).
1 | !7 |
2 | |
3 | p {
|
4 | bool errors = false; |
5 | L<S> l = tlft(loadPage("http://eyeocr.sourceforge.net/filestore/filestore.php?cmd=ls"));
|
6 | for i, S s over l: {
|
7 | loadPage_forcedTimeout = 10000; |
8 | consoleStatusAndPrint(i + "/" + l(l)); |
9 | if (startsWith(s, "#")) continue; |
10 | print(s); |
11 | File f = getProgramFile(s); |
12 | if (hasFile(f)) continue; |
13 | S url = "http://eyeocr.sourceforge.net/filestore/filestore.php?cmd=serve&file=" + urlencode(s); |
14 | try {
|
15 | saveBinaryFile(f, loadBinaryPage(url)); |
16 | } catch e {
|
17 | printShortException(e); |
18 | errors = true; |
19 | } |
20 | } |
21 | consoleStatus(print(errors ? "Done with errors" : "Done!")); |
22 | print("Directory size: " + toM(guessClusteredDirSize()) + " MB");
|
23 | } |
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1010733 |
| Snippet name: | Download all data snippets from SourceForge (OK) |
| Eternal ID of this version: | #1010733/9 |
| Text MD5: | 7fb6cb1e5eeabdc2fbb572b3650bc730 |
| Transpilation MD5: | d0ef2c37d97499ed2069666c13c61c15 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX source code (desktop) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-03-25 12:54:10 |
| Source code size: | 725 bytes / 23 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 861 / 2164 |
| Version history: | 8 change(s) |
| Referenced in: | [show references] |