1 | // pair(id, date), newest first |
2 | static LPair<Long, S> oldTranspilationsOfSnippet(S snippetID) { |
3 | S html = loadPage(tb_mainServer() + "/tb/old-transpilations.php?id=" + psI(snippetID)); |
4 | new LPair<Long, S> out; |
5 | for (LS row : dropFirst(new TableFinder(html).rows())) |
6 | out.add(pair(parseLong(regexp_firstGroup("[&?]c_id=(\\d+)", third(row))), first(row))); |
7 | ret out; |
8 | } |
Began life as a copy of #1012252
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1022776 |
Snippet name: | oldTranspilationsOfSnippet |
Eternal ID of this version: | #1022776/7 |
Text MD5: | 138544e643bd0e111d8896c93e6cdddc |
Author: | stefan |
Category: | javax / snippets |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-06-20 23:40:24 |
Source code size: | 380 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 265 / 318 |
Version history: | 6 change(s) |
Referenced in: | [show references] |