下载的开放源 的机器人自由社会版 和安装机器人自由于你自己的服务器
Bot Libre Forum : Connect your Bot to the World - XML, JSON, Web Services, HTML Scraping, Twitter, Facebook, Telegram, Email

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

通过 admin 发布 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
发布: Sep 2 2017, 1:58
答复: 0
的风景: 3706, 今天: 2, 周: 2, 一个月: 48
0 0 0.0/5