Skip to content

cssselect fails on Googlerbot  #8

Open
@ahoskins

Description

@ahoskins

Hi, cool library - really fun stuff.

I'm trying to get the Googlerbot to work, but having trouble with:

href = root.cssselect(".bia")[0].attrib["href"]

The root object does not have any DOM nodes with class = bia. Does this have to do with google's HTML being asynchronous? When I write the root object to file there is some HTML from the response, but not all of it.

Any idea how I can fix this problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions