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

6
LINES

< > BotCompany Repo | #1026698 // webBot_answer

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

Libraryless. Click here for Pure Java version (3692L/24K).

sS webBot_answer(S s, S botID) {
 S answer = loadPageWithParams("https://botcompany.de/" + psI(botID) + "/raw/answer/rand=" + randomID(),
    q := s, noDefault := 1 /* against spam filter */);
  print(botID + ": " + answer);
  ret eq(answer, "ERROR.") ? null : answer;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 8 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, snaazhdonpnp, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1026698
Snippet name: webBot_answer
Eternal ID of this version: #1026698/3
Text MD5: f907a2863e46105c9dce658c05151c0b
Transpilation MD5: 85cce23cfa947101e23291a036381b19
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-01-19 01:04:39
Source code size: 275 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 244 / 350
Version history: 2 change(s)
Referenced in: [show references]