Frozen-soup

Latest version: v0.5

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

Scan your dependencies

0.5

This now properly handles including URLs based on a `<base>` tag, and there's a new `knockouts` parameter (or repeatable `--knockout` command line option) that allows specifying CSS selectors to be removed from the output HTML. This could be useful for removing popups or ads, for example.

(Forgot to bump the version number in `pyproject.toml`, so this is a re-do of 0.4 with that fixed.)

0.4

This now properly handles including URLs based on a `<base>` tag, and there's a new `knockouts` parameter (or repeatable `--knockout` command line option) that allows specifying CSS selectors to be removed from the output HTML. This could be useful for removing popups or ads, for example.

0.3

Added a timeout parameter for freezing a URL, stopped mangling pre-existing `data:` URLs, and added a quick-and-dirty server that makes it a little easier to experiment.

(The GitHub Action for publishing releases still had Python 3.8 testing in it, so this is a re-do of 0.2 with that removed.)

0.2

Added a timeout parameter for freezing a URL, stopped mangling pre-existing `data:` URLs, and added a quick-and-dirty server that makes it a little easier to experiment.

0.1

This is a initial proof of concept that will download a URL, assume it is HTML, run it through Beautiful Soup and process every `<link>`, `<script>`, and `<img>` to either include external resources (CSS and JS) or turn them into a data: URL. It also further processes CSS to turn `url(...)` into `url(data:...)`.

This pulls in everything, without timeouts, and fails hard if anything doesn't work as expected. There is a bunch of basic functionality that should be implemented before this is used for anything other than playing around.

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.