-
Notifications
You must be signed in to change notification settings - Fork 977
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
failed to get elements #479
Comments
I tried the code snippet you provided and got the correct output.
|
my lxml is 4.9.0 I also find this problem. I found that this is because the find() do not get correct response. the problem is because of a bug(?) of etree.tosring. if you change and, if the html get correct response, the text is also correct , because text use pq, pq use lxml ,which use html at last. |
I'm new to requests-html and just installed several days ago.
when followed the Tutorial :
The expected output as Tutorial described is :
But actually I got the following:
which is from element <li id="about" ... to the end of the whole html document.
anyone konws solution of this issue?
@kennethreitz
The text was updated successfully, but these errors were encountered: