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

5
LINES

< > BotCompany Repo | #1013314 // uploadWebPage_userAgent

JavaX fragment (include)

static S uploadWebPage_userAgent(S url) {
  S text = loadPageWithUserAgent(url, defaultFakeUserAgent());
  if (text.isEmpty()) ret "";
  ret ntUpload(programID(), "Contents of " + url, text);
}

Author comment

Began life as a copy of #1003987

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1013314
Snippet name: uploadWebPage_userAgent
Eternal ID of this version: #1013314/3
Text MD5: d58c495b1a813b9c5e206c2a8b619a50
Author: stefan
Category: javax / networking
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-12-31 22:53:38
Source code size: 197 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 291 / 304
Version history: 2 change(s)
Referenced in: [show references]