What’s New

Scrapling v0.4.7

v0.4.7

Release v0.4.7

Added
  • Add a screenshot MCP tool that captures a page and returns it as an ImageContent block, supporting PNG and JPEG, full-page captures, JPEG quality, and readiness controls
  • Add a custom session_id parameter to open_session to allow naming sessions meaningfully instead of random hex identifiers
Fixed
  • Fix FetcherSession state corruption and lazy session close crash
  • Fix TypeError when using the CLI's --ai-targeted flag with HTTP commands due to unexpected block_ads keyword argument

A focused update bringing eyes to your AI agents 📸

[!NOTE] Follow us on X for daily tips and tricks

🚀 New Stuff and quality of life changes
  • Added a screenshot MCP tool that captures a page and returns it as a real MCP ImageContent block so the model can actually see it. The tool requires an open browser session, so you call open_session first (either dynamic or stealthy) and pass the session_id here. Supports PNG and JPEG, full-page captures, JPEG quality, and the usual readiness controls (wait, wait_selector, network_idle, timeout). (implements #244)
  • Added a custom session_id parameter to open_session so you can name sessions meaningfully ("search", "checkout") instead of the random 12-character hex default. By @hauntedhost in #243
🐛 Bug Fixes
  • Fixed FetcherSession state corruption and a lazy session close crash. By @yetval in #245
  • Fixed TypeError: Session.request() got an unexpected keyword argument 'block_ads' when using the CLI's --ai-targeted flag with HTTP commands. By @voidborne-d in #249 (Fixes #247)
Translations
  • Added a Brazilian Portuguese README translation By @rgomids in #250

🙏 Special thanks to the community for all the continuous testing and feedback


Big shoutout to our Platinum Sponsors
View original