Skip to main content

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-hypernode.com/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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

act-police-archiver-1.0.1.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

act_police_archiver-1.0.1-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file act-police-archiver-1.0.1.tar.gz.

File metadata

  • Download URL: act-police-archiver-1.0.1.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.1

File hashes

Hashes for act-police-archiver-1.0.1.tar.gz
Algorithm Hash digest
SHA256 6da8a5ac145e216f8e3f942c1c796464e6a6401f50d3dfe6be48e964ef505ba5
MD5 3a8cb0352fa64eedd59a08481aebab89
BLAKE2b-256 c014a57e272561c12517d60b8a278485fa6a0a8897874d5f1f65b68ff4be9550

See more details on using hashes here.

File details

Details for the file act_police_archiver-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: act_police_archiver-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.1

File hashes

Hashes for act_police_archiver-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 91aacea6b09f20c76e1cb5e8edeb739036013181d87277b93e71e6fe7c1d0e8b
MD5 897dd39fffb454543b513c507a3ca6a1
BLAKE2b-256 1060916db992d3f8d3ffcffa930cad78172916de8f954cba21e9444eb1cfbf6f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page