Bot Libre Forum : Connect your Bot to the World - XML, JSON, Web Services, HTML Scraping, Twitter, Facebook, Telegram, Email Sign In : Sign Up

RE: Connect your Bot to the World - XML, JSON, Web Services, HTML Scraping, Twitter, Facebook, Telegram, Email

by admin posted Sep 2 2017, 1:58

It depends what you want the bot to do with the file.

For an XML file call,

var xml = Http.requestXML(url, xpath);

For HTML call,

var html = Http.requestHTML(url, xpath);

For JSON use,

var json = Http.requestJSON(url);

For CSV use,

var csv = Http.requestCSV(url);

For text use,

var text = Http.requestText(url);


Id: 18920652
Posted: Sep 2 2017, 1:58
Replies: 0
Views: 3882, today: 2, week: 11, month: 58