v0.2.99
D4Vinci/Scraplingv0.2.99Apr 8, 2025by D4Vinci
AI Summary
Launch of full documentation and unification of import logic.
Key Highlights
- New full documentation website launched
- Unified import logic for all fetchers
- New `wait` argument for fetchers to delay page closure
- New `additional_arguments` for StealthyFetcher
Breaking Changes
- `automatch` is now turned off by default
New Features
- New documentation website
- Unified imports: `from scrapling.fetchers import ...`
- Wait functionality for fetchers
- Additional arguments support for StealthyFetcher
Full Release Notes
**This is an essential update for everyone to fully enjoy Scrapling as it's intended.** ## What's changed ### New full documentation website - Yup, finally 😄 Check it out from [here](https://scrapling.readthedocs.io/en/latest/) ### Unified import logic for fetchers - Now you can import all fetchers with `from scrapling.fetchers import Fetcher, AsyncFetcher, StealthyFetcher, PlayWrightFetcher`, then use them directly like `page = Fetcher.get(...)` without initialization.<br/> This replaces this old import `from scrapling.defaults import Fetcher, AsyncFetcher, StealthyFetcher, PlayWrightFetcher`. ### Breaking change: automatch is now turned off by default - Now there's new logic to enable automatch from fetchers or other parsing options. Check out the [documentation page](https://scrapling.readthedocs.io/en/latest/fetching/choosing/#parser-configuration-in-all-fetchers) for details. > Old imports and logic are left usable with a warning for backward compatibility. ### New options added to fetchers - Now, both `StealthyFetcher` and `PlayWrightFetcher` have a new argument while fetching called `wait`. This makes the fetcher wait/sleep for a specific period (milliseconds) before closing the page and returning the response to you. - Now `StealthyFetcher` methods `fetch` and `async_fetch` have the argument `additional_arguments` to be passed to Camoufox as additional settings, which takes higher priority than Scrapling's settings (#54 ) ### Bugs squashed - Fixed a bug in `async_fetch` in both `StealthyFetcher` and `PlayWrightFetcher` classes, with catching redirections. **_Thanks for all your support and donations!_** --- ## Big shoutout to our biggest Sponsor: [Scrapeless](https://www.scrapeless.com/en/product/deep-serp-api?utm_source=website&utm_medium=ads&utm_campaign=scraping&utm_term=d4vinci) <a href="https://www.scrapeless.com/en/product/deep-serp-api?utm_source=website&utm_medium=ads&utm_campaign=scraping&utm_term=d4vinci"><img src="https://raw.githubusercontent.com/D4Vinci/Scrapling/main/images/scrapeless.jpg" height="400" alt="Scrapeless Banner" ></a>