There is a web page (not mine and without API) from which I want to take data. An example of such a page
https://warthunder.com/en/community/userinfo/?nick=Keofox
The necessary data is in the following blocks:
<ul class = "profile-stat__list-sb">
<li class = "profile-stat__list-item"> sb</li>
<li class = "profile-stat__list-item"> 93 </li>
<li class = "profile-stat__list-item"> 64 </li>
<li class = "profile-stat__list-item"> 5 </li>
Previously everything worked through AngleSharp but recently added DDoS protection by Cloudflare. Accordingly, the parser does not work. Delay, parallel loading in WebView was unsuccessful.
The only possible solution (in my opinion) is to extract HTML code from an already loaded page in WebView (in WebView, the page passes the Cloudflare check and loads without problems).
- How to call an event like an "OnPageFinishedLoading"?
- How can I extract HTML code from WebView and use it?