Libraryless. Click here for Pure Java version (2907L/21K/66K).
1 | !752 |
2 | |
3 | p { |
4 | S html = loadNTSnippet("#3000394"); |
5 | L<S> tok = htmlTok(html); |
6 | L<L<S>> toks = concatLists( |
7 | findContainerTag(tok, "h2"), |
8 | findContainerTag(tok, "h3")); |
9 | for (L<S> tok2 : findContainerTag(tok, "th")) |
10 | if (eq(getHtmlTagParameter(tok2.get(1), "class"), "header")) |
11 | toks.add(tok2); |
12 | |
13 | for (L<S> tok2 : toks) { |
14 | print(join(unwrapContainerTag(tok2))); |
15 | } |
16 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1005226 |
Snippet name: | Find Boxes On Pouet Homepage |
Eternal ID of this version: | #1005226/1 |
Text MD5: | d69dd5134f1a5376603e29cb71e524c4 |
Transpilation MD5: | edf85cb3cb718a90c9078d48239d87c5 |
Author: | stefan |
Category: | javax / web scraping |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-10-24 01:45:51 |
Source code size: | 405 bytes / 16 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 486 / 551 |
Referenced in: | [show references] |