Skip to content

[pull] master from apify:master#186

Merged
pull[bot] merged 1 commit intothreatcode:masterfrom
apify:master
Apr 28, 2026
Merged

[pull] master from apify:master#186
pull[bot] merged 1 commit intothreatcode:masterfrom
apify:master

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented Apr 28, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

When page.goto throws "Download is starting", Playwright has already
captured the file — but the Download object was inaccessible to
user-land code. The only workaround was re-downloading via HTTP, which
breaks on sites requiring a
browser session (e.g. ECAS-gated resources on Eur-Lex).
                                                            
This PR adds a downloads: Download[] array to PlaywrightCrawlingContext,
populated via page.on('download', ...)
registered in _enhanceCrawlingContextWithPageInfo — before navigation,
so downloads triggered by page.goto are always
  captured.
 
 Closes #3583
@pull pull Bot locked and limited conversation to collaborators Apr 28, 2026
@pull pull Bot added the ⤵️ pull label Apr 28, 2026
@pull pull Bot merged commit 5dc1627 into threatcode:master Apr 28, 2026
@pull pull Bot had a problem deploying to github-pages April 28, 2026 10:19 Failure
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant