Libraryless. Click here for Pure Java version (887L/7K/21K).
!752 answer { if (match("please scrape *", s, m)) ret "OK. Scraped here: tinybrain.de/" + parseSnippetID(scrape(m.unq(0))); } static S scrape(S url) { url = unslack(url); ret ntUpload("Scrape Bot" + formatSnippetID(getProgramID()), "Contents of " + url, loadPage(url)); } static S unslack(S url) { if (url.startsWith("<")) url = url.substring(1); if (url.endsWith(">")) url = url.substring(0, l(url)-1); ret url; }
Began life as a copy of #1002036
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, jtubtzbbkimh, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment