Archive ACT Policing Media Releases
Project description
ACT Police Media Release Archiver
A tool I've made to keep archives of ACT Policing's Media Releases.
PyPI: https://pypi.org/project/act-police-archiver/
Setup
With pip
pip3 install act-police-archiver
Manual
Install poetry
:
pip3 install poetry
Update dependencies:
poetry update
Usage
Run as a script
To export all media releases to a specific directory (e.g your Desktop), run this command:
poetry run py -m act_police_archiver -o /path/to/desktop
This will start downloading every media release on ACT Police's website.
To download a specific release, run this command:
poetry run py -m act_police_archiver -o /path/to/desktop -p <url of media release>
Import code
You can also import the code as a module if you want to access specific functions like this:
import act_police_archiver
# Example:
act_police_archiver.scrape_release('someurl', '/path/to/folder')
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for act-police-archiver-1.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6da8a5ac145e216f8e3f942c1c796464e6a6401f50d3dfe6be48e964ef505ba5 |
|
MD5 | 3a8cb0352fa64eedd59a08481aebab89 |
|
BLAKE2b-256 | c014a57e272561c12517d60b8a278485fa6a0a8897874d5f1f65b68ff4be9550 |
Close
Hashes for act_police_archiver-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91aacea6b09f20c76e1cb5e8edeb739036013181d87277b93e71e6fe7c1d0e8b |
|
MD5 | 897dd39fffb454543b513c507a3ca6a1 |
|
BLAKE2b-256 | 1060916db992d3f8d3ffcffa930cad78172916de8f954cba21e9444eb1cfbf6f |