-
-
Notifications
You must be signed in to change notification settings - Fork 389
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
get page is incomplete #482
Comments
Hello @snowchenlei , I quickly looked at it, and it might be due because the data is populated after the page is loaded. However the method LoadFromWeb get the source There are 2 way to solve it:
Best Regards, Jon Sponsorship Performance Libraries Runtime Evaluation |
I'm using .net core, which is bad |
So I recommend you using Selenium Web Driver if that's possible: https://riptutorial.com/selenium-webdriver/learn/100000/overview It works really help and depending on what you want to achieve, might open a lot of opportunities. |
var document = await web.LoadFromWebAsync("http://whsggzy.wuhu.gov.cn/whggzyjy/005/005001/005001001/20220819/87d3fb1c-eeb0-457f-b040-3a74593cda1d.html");
However, the content obtained is different from the original web page。
(//*[@id="process-list"]/li[1]) this xpath element date-url attribute is empty
The text was updated successfully, but these errors were encountered: