Skip to main content

Scraper for ALLRIS

Project description

https://img.shields.io/pypi/l/twomartens.allrisscraper:alt:ApacheLicence2.0 https://img.shields.io/pypi/pyversions/twomartens.allrisscraper:alt:SupportsPython3.7and3.8 https://img.shields.io/pypi/v/twomartens.allrisscraper:alt:version0.3.3

This scraper requires your username and password and performs the following tasks for you:

  • login

  • download of all agendas and motions related to upcoming meetings of committees and plenary sessions

    • Only considers meetings where you already have been invited formally through ALLRIS.

IMPORTANT: All districts are supported but official committe abbreviations will only work for Eimsbüttel as of now.

Requirements

Initial setup

  1. Install ALLRIS scraper pip install twomartens.allrisscraper (you need Python 3.7+)

  2. Run ALLRIS scraper a first time tm-allrisscraper (creates config ini in your current working directory)

  3. Fill out the config file with your login credentials and an absolute path on your system to store PDFs of files

Configuration

[Default]
; possible values for district: Altona, Bergedorf, Eimsbüttel, Hamburg-Nord,
; Hamburg-Mitte, Harburg, Wandsbek
district = Eimsbüttel
; if you are not from Eimsbüttel your domain ending will differ
username = max.mustermann@eimsbuettel.de
; password is stored in clear text, therefore ini file should have most
; restrictive read permissions
password = VerySecurePassword
; location for storage of PDFs (trailing slash is IMPORTANT)
pdflocation = /path/to/storage/of/PDFs/

Usage after initial setup

Run ALLRIS scraper: tm-allrisscraper (takes a few seconds to finish)

In the specified location for download you will find the following structure:

  • YYYY-MM-DD_Abbreviation of committee or plenary session/ (one directory for each meeting)

  • files inside the directory: Einladung.pdf (contains invitation), Mappe.pdf (contains all motions in one document), and Tagesordnung.pdf (agenda)

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

twomartens.allrisscraper-0.3.3.tar.gz (12.0 kB view details)

Uploaded Source

Built Distribution

twomartens.allrisscraper-0.3.3-py3-none-any.whl (13.4 kB view details)

Uploaded Python 3

File details

Details for the file twomartens.allrisscraper-0.3.3.tar.gz.

File metadata

  • Download URL: twomartens.allrisscraper-0.3.3.tar.gz
  • Upload date:
  • Size: 12.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.0

File hashes

Hashes for twomartens.allrisscraper-0.3.3.tar.gz
Algorithm Hash digest
SHA256 614e0bcbd294b4526fa9abe5361f88c8aff45185d70c2f8466a52e725c4c48e0
MD5 d7b30906928696a7ffa06da7eeda5cb4
BLAKE2b-256 a58c2ccab05787450d60104e435b40626b8a3c960ad330868e87ebb18149fc89

See more details on using hashes here.

File details

Details for the file twomartens.allrisscraper-0.3.3-py3-none-any.whl.

File metadata

  • Download URL: twomartens.allrisscraper-0.3.3-py3-none-any.whl
  • Upload date:
  • Size: 13.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.0

File hashes

Hashes for twomartens.allrisscraper-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d41d2b6e62c595f67f6b735de671dd92d34324a57f8ea597e2a2fae3b35261c0
MD5 a9eaca54b8e3cf592df35ecc20201bc9
BLAKE2b-256 18f2f8572febe0899067040aa350ed1b55dfc2d5bb63609988cda3a2106b311c

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