v0.3.1
D4Vinci/Scraplingv0.3.1Sep 2, 2025by github-actions[bot]
AI Summary
Installation fixes and new JavaScript injection capabilities for browser fetchers.
Key Highlights
- Fixed installation issues when installing without the `shell` extra
- Added `init_script` argument to all browser-based fetchers
New Features
- JavaScript injection via `init_script` argument
Full Release Notes
# Scrapling v0.3.1 release notes
1. Fixed an issue with scrapling installation when you install it without the `shell` extra (#76 )
2. Added a new argument to all browser-based fetchers and their session classes to add a JS file to be executed on page creation (#56) :
```python
from scrapling.fetchers import StealthyFetcher
StealthyFetcher.fetch('https://example.com', init_script="/absolute/path/to/js/script.js")
```
---
### Big shoutout to our biggest Sponsors
<a href="https://evomi.com?utm_source=github&utm_medium=banner&utm_campaign=d4vinci-scrapling" target="_blank" title="Evomi is your Swiss Quality Proxy Provider, starting at $0.49/GB"><img src="https://raw.githubusercontent.com/D4Vinci/Scrapling/main/images/evomi.png"></a><a href="https://petrosky.io/d4vinci" target="_blank" title="PetroSky delivers cutting-edge VPS hosting."><img src="https://raw.githubusercontent.com/D4Vinci/Scrapling/main/images/petrosky.png"></a>