Get webpage source

cstangor

Member
Licensed User
Longtime User
Hello,

What is the appropriate method to return the source code of a web link as a string?

Thanks in advance.
 

canalrun

Well-Known Member
Licensed User
Longtime User
Hello,
I was doing this a while back. The only way I found to get the webpage source was to use HTTPUtils2 to get the webpage as string.

After doing whatever processing I needed on the string I loaded it into a WebView using LoadHtml.

Barry.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…