Skip to content

Feature: Multiple page query support#46

Open
ApuMbett wants to merge 4 commits into
morrolinux:masterfrom
ApuMbett:master
Open

Feature: Multiple page query support#46
ApuMbett wants to merge 4 commits into
morrolinux:masterfrom
ApuMbett:master

Conversation

@ApuMbett

Copy link
Copy Markdown
Contributor

Changes made:

  • Added multiple page query support to run_query to ensure results span across multiple pages
  • Introduced --maxPage argument to control the number of pages fetched, preventing excessive requests. (defaults to 1 to maintain the previous user experience)

Why?

Single-page queries may be ineffective because sold items are discarded, and the first page might contain mostly sold listings (e.g., when sorting by ascending price).

Additionally, when filtering by price range, some relevant items may be missed because they appear on later pages.

@morrolinux

Copy link
Copy Markdown
Owner

Sorry, I must have missed this.
I'm open to merge if you can fix the conflicts.

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

Successfully merging this pull request may close these issues.

2 participants