Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

PlaywrightCrawler doesn't have gotoOptions #1576

Open
Labels
t-toolingIssues with this label are in the ownership of the tooling team.
@phughesion-h3

Description

@phughesion-h3

In the JavaScript version, the PuppeteerCrawler hasgotoOptions, which I believe allows you to define whatwait_until state you want.
https://crawlee.dev/js/api/puppeteer-crawler#PuppeteerGoToOptions

The PlaywrightCrawler just uses the defaultpage.goto, which defaults to "load".
https://github.com/apify/crawlee-python/blob/9d4ae6439c301abe7439281a5786b8f166d67623/src/crawlee/crawlers/_playwright/_playwright_crawler.py#L300C1-L301C1

Some sites take ages to load and I would like my request_handler to run after "domcontentloaded", since I don't need to wait for the full page to load to get what I need. As it is now, my request_handler will never be called because the site has an issue preventing it from loading all of the way.

I don't just want to increase the timeout, I want to be able to specify what options_navigate should use when callinggoto.

Metadata

Metadata

Assignees

No one assigned

    Labels

    t-toolingIssues with this label are in the ownership of the tooling team.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp