Skip to content

How do I scrape an element that doesn't have an identifier? #86

Description

@ghzeni

Hello!

First of all, great work on the package. It's an absolute wonder.

However, I'm having trouble trying to scrape a particular information from a website.

image

I need to get the value that is right after Qtde.:

image

If that <strong></strong> tag wasn't there, the request would be probably something like this:

image

And would return the desired value, but apparently because this "title" is not alone inside the component, the response is this:

image

As you can see, the value: tag is empty.

Is there any way for me to go around this? Is it because of the hidden #text tag? I'm very confused 😅

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions