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

[TF-3436] Add pagination meta-data example #113

Merged
merged 3 commits into from
Jan 9, 2025
Merged

Conversation

jayfish0
Copy link
Contributor

@jayfish0 jayfish0 commented Jan 8, 2025

No description provided.

@jayfish0 jayfish0 changed the title Add pagination meta-data example [TF-3436] Add pagination meta-data example Jan 8, 2025
if __name__ == "__main__":
with sync_playwright() as playwright, playwright.chromium.launch(headless=False) as browser:
page = agentql.wrap(browser.new_page())
page.goto("https://wristler.eu/sellers?page=1")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems that there is a popup on this webpage which may prevent pagination from working correctly. Should we switch to another website? The rest of the script is working correctly.

image

@jayfish0 jayfish0 requested a review from frankfeng98 January 9, 2025 20:50
if __name__ == "__main__":
with sync_playwright() as playwright, playwright.chromium.launch(headless=False) as browser:
page = agentql.wrap(browser.new_page())
page.goto("https://books.toscrape.com/")
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changed to a different example

@jayfish0 jayfish0 merged commit af25b17 into main Jan 9, 2025
1 check passed
@jayfish0 jayfish0 deleted the jason/paginate-data-step branch January 9, 2025 21:00
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