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

4
LINES

< > BotCompany Repo | #1030614 // duckDuckGo - returns (link, text)

JavaX fragment (include) [tags: use-pretranspiled]

Uses 616K of libraries. Click here for Pure Java version (4601L/30K).

static LPairS duckDuckGo(S query) {
  ret map(jsoup(duckDuckGo_raw(query), "a.result__a"),
    e -> pair(e.attr("href"), htmlDecode_dropTags(e.html())));
}

Author comment

Began life as a copy of #1030611

download  show line numbers  debug dex  old transpilations   

Travelled to 5 computer(s): bhatertpkbcr, ekrmjmnbrukm, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1030614
Snippet name: duckDuckGo - returns (link, text)
Eternal ID of this version: #1030614/3
Text MD5: 5baf50c56e66d280a405346538a7729f
Transpilation MD5: 141e97325052b212eb20a055f47d9bfa
Author: stefan
Category: javax / html
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-01-26 09:11:12
Source code size: 158 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 188 / 306
Version history: 2 change(s)
Referenced in: [show references]