Skip to content
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

Output entries in wrong order #94

Open
raphj92 opened this issue May 3, 2024 · 1 comment
Open

Output entries in wrong order #94

raphj92 opened this issue May 3, 2024 · 1 comment

Comments

@raphj92
Copy link

raphj92 commented May 3, 2024

I'm trying to grab a list of participant from a web page containing multiple tables.
Using a CSS Selector of "tr" brings each row from each table, but not in the correct order.

First table is gathered like this:

{{output 0}} ==> data from table1 row 7
{{output 1}} ==> data from table1 row 8
{{output 2}} ==> data from table1 row 1
{{output 3}} ==> data from table1 row 2
{{output 4}} ==> data from table1 row 3
{{output 5}} ==> data from table1 row 4
{{output 6}} ==> data from table1 row 5
{{output 7}} ==> data from table1 row 6

And the same is gathered for the 2nd table, but sometimes starting with a different shift in rows.

On a different web page containing only one table, the problem does not occur.

@royshil
Copy link
Collaborator

royshil commented Jun 25, 2024

not sure i know how to resolve this because the iterator is coming from pugiXML parser in a certain order that i can't control
unless there's some sort mechanism that can be applied in the selector?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants