Gruel

Latest version: v4.0.0

Safety actively analyzes 624763 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

4.0.0

New Features

* implement `CrawlLimit` class
* implement `Crawler` class.
* add wrapper around `parse_item()`
* add convenience request function to `Gruel`
* add `get_linkscraper()` to `Response`
* add logging to sending requests and receiving responses
* BREAKING add `get_source()` abstract method to `Gruel`

Refactorings

* update template
* implement `ScraperMetricsMixin`
* implement `ChoresMixin`
* break up `Gruel` into smaller mixin classes
* use `LoggerMixin` from `loggi` package
* export `retry_on_codes`
* move log closing out of `postscrape_chores()`
* separate requests functionality and expose more access to the requests module
* add `override` decorator to template
* BREAKING remove `ParsableItem` type alias

3.0.1

Refactorings

* use disable param of `track` instead of ifelse statement

3.0.0

Refactorings

* BREAKING change `request` from static method of `Gruel` to independent method
* improve type annotation coverage

2.1.1

New Features

* add json input to request method

2.1.0

New Features

* add members to `Gruel` to better track scrape runtime status and results

2.0.2

Docs

* fix type annotations

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.