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

10
LINES

< > BotCompany Repo | #1023669 // agi.blue first bot (move a random "robots.txt" page to the robots.txt slice)

JavaX source code (Dynamic Module) [tags: use-pretranspiled] - run with: Stefan's OS

Uses 911K of libraries. Click here for Pure Java version (5905L/31K).

1  
!7
2  
3  
cmodule AgiBlueFirstBot > DynSingleFunctionWithPrintLog {
4  
  void doIt {
5  
    Map map = optCastTo Map(print(loadJSONPage("http://agi.blue/bot/randompagecontaining?q=robots.txt")));
6  
    if (map == null) ret;
7  
    
8  
    print(loadJSONPage("http://agi.blue/bot/post" + hquery(url := getString url(map), key := "move to", value := "the robot slice")));
9  
  }
10  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1023669
Snippet name: agi.blue first bot (move a random "robots.txt" page to the robots.txt slice)
Eternal ID of this version: #1023669/1
Text MD5: 0f567d991ab7f6a90488275d8cd0fda7
Transpilation MD5: c0bd4717b5574b3e98926616e277e07d
Author: stefan
Category: javax / agi.blue
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-07-02 15:59:06
Source code size: 363 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 306 / 428
Referenced in: [show references]