تحميل مفتوحة المصدر بوت ليبر الجماعة الطبعة وتثبيت بوت ليبر على الخادم الخاص بك
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 نشر Aug 21 2017, 14:56

If you ant to pass a value from your page to the bot, you need to use JavaScript for this. You would pass the value to the bot through a message or a command.

The bot could also parse a file from a URL, or send a request to a web service.
If you have an XML or JSON file online, the bot can parse it in Self using,

Http.requestXML(url)

or,

Http.requestJSON(url)

To access data from an HTML file you need to scrape the data from the HTML using an XPath,

Http.requestHTML(url, xpath)


معرف: 18753768
نشر: Aug 21 2017, 14:56
الردود: 0
الآراء: 8356, اليوم: 3, الأسبوع: 8, الشهر: 14
0 0 0.0/5