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

Add a session reuse strategy option to `SessionPool`

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

SessionPool.get_session() (src/crawlee/sessions/_session_pool.py) always picks a random usable session, which is not always what a crawl wants. Add a configurable reuse strategy, matching the sessionReuseStrategy option in JS.

JS implementation: apify/crawlee#3587

✍️ Drafted by Claude Code

Source: apify/crawlee-python

View original on GitHubView discussion on GitHub