Hi, in ResourceLoadComplete event I get the url with "request.url", but how to get the content of this url?
Thanks
Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
How to get the content of a url in ResourceLoadComplete?
-
- Posts: 52
- Joined: Sat Dec 09, 2017 4:40 pm
Re: How to get the content of a url in ResourceLoadComplete?
form1.Memo2.Lines.Add(chromium1.Browser.MainFrame.Url);
- salvadordf
- Posts: 4580
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: How to get the content of a url in ResourceLoadComplete?
You can create a URL request with "request.url" as URL to get the contents. See the URLRequest demo for all the details.alpires2000 wrote: Tue Oct 26, 2021 6:19 pm Hi, in ResourceLoadComplete event I get the url with "request.url", but how to get the content of this url?
Alternatively, you can also use the code in the ResponseFilterBrowser demo but that's more complicated.