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

NexusMods - for when there's no Next button #563

Open
Auditormadness9 opened this issue Apr 16, 2024 · 3 comments
Open

NexusMods - for when there's no Next button #563

Auditormadness9 opened this issue Apr 16, 2024 · 3 comments

Comments

@Auditormadness9
Copy link

The url of site
https://www.nexusmods.com/fallout4/mods/?BH=3

Is your request related to a problem? Please describe.
We already have a rule that works when there's a next button, but it doesn't work when there isn't one displayed but there are still multiple pages of results.

Describe the result you'd like with the rule
Pagerize the remaining pages even though there is no next button.

Custom rule you've tried
Only the one that works with Next.

Additional context
image

@hoothin
Copy link
Owner

hoothin commented Apr 18, 2024

Assign the value of //li[a[contains(@class,"page-selected")]]/following-sibling::li[1]/a to the nextLink.

@AuditorM9
Copy link

Assign the value of //li[a[contains(@class,"page-selected")]]/following-sibling::li[1]/a to the nextLink.

didn't work but li:has(a.page-selected) + li > a did, thanks!

@hoothin
Copy link
Owner

hoothin commented Apr 19, 2024

It's nothing. In JSON, double quotes must be escaped.
For xpath, You can use "nextLink": "//li[a[contains(@class,\"page-selected\")]]/following-sibling::li[1]/a".

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

3 participants