I need a way to extract the website source code in Delphi and put it in a TStrings or TStringList
exactly the same way when you click on View Source in the Internet Explorer and it opens the notepad and shows the source code.
Maybe we can use TWebBrowser or I don't know Thank you.
Using Indy you can simply do
Strings.Text := IdHttp.Get(URL);
You really don't want to spin up a TWebBrowser for a simple HTTP GET.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With