Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
Back to tool/Back to issues
#2131·crawlee-python

Add an `extend_context` option for adding members to the crawling context

Author: vdusekCreated Aug 7, 2026Updated Aug 7, 2026
Labelsenhancementt-tooling

ContextPipeline is internal, so there is no supported way to put custom members on the crawling context - users have to subclass the crawler. JS v4 exposes an extendContext option that runs before navigation, making its members visible to the navigation hooks and the request handler alike, and additionally lets navigation hooks override context members.

JS implementation: apify/crawlee#3119, apify/crawlee#3672

✍️ Drafted by Claude Code

Source: apify/crawlee-python

View original on GitHubView discussion on GitHub