How to Download Source Code for a Webpage in Xojo/Real Studio?
Store it in a String object?
I wish for the full sample code…
How to Download Source Code for a Webpage in Xojo/Real Studio?
Store it in a String object?
I wish for the full sample code…
If you’re using HTMLViewer, see this post:
Otherwise, URLConnection. There are examples in the Xojo IDE and documentation.
In Real Studio or Xojo?
Xojo. For RealStudo you’ll need to use HTTPSecureSocket.
Thanks. Do I need to install any plugins?
No.
okay
Bear in mind that you will run into sites where JavaScript execution is required to display data, and allowed useragents may be required, etc. The best bet is to use Xojo’s HTMLViewer. Of course, if you’re looking to scrape data, you should see if the site/company offers an API or you could end up banned.