Skip to main content
Apache License 2.0 Python 3.7 and 3.8 version 0.5.9

This scraper offers both public and private scraping. The latter 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 committee abbreviations will only work for Eimsbüttel as of now.

The public scraper ought to be used with care as it accesses all accessible pages of an entire month. Currently, June 2020 is hardcoded and it can only be used in a GUI environment.

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/
; location of the firefox binary
firefoxBinary = /Pfad/zur/firefox.exe
; location of the geckodriver binary
geckodriver = /Pfad/zum/geckodriver

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)

Packaging new versions

Activate virtual environment and run python -m build --sdist --wheel

Release files for twomartens.allrisscraper 0.5.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for twomartens.allrisscraper 0.5.9
File Size Uploaded
twomartens.allrisscraper-0.5.9.tar.gz 20.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for twomartens.allrisscraper 0.5.9
File Interpreter ABI Platform
twomartens.allrisscraper-0.5.9-py3-none-any.whl Python 3 none any Details

Total release size: 42.7 kB

Release files / twomartens.allrisscraper-0.5.9.tar.gz

Download URL twomartens.allrisscraper-0.5.9.tar.gz
Size 20.9 kB
Tags Source
SHA-256 checksum
How to use checksums
88baf3a71811704e5653af2f2403e9441fe33b91c5075e9b44fe6a418036a5da
BLAKE2b-256 checksum
How to use checksums
aeb7acb7ee75bd2466ea7d5258462896438bfdfbd8352c23c428d096dbc9abf7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.10

Release files / twomartens.allrisscraper-0.5.9-py3-none-any.whl

Download URL twomartens.allrisscraper-0.5.9-py3-none-any.whl
Size 21.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2db9305f2aa06d327649787002e8687fba4562be99617893b50035be12f78058
BLAKE2b-256 checksum
How to use checksums
523cbcacbb221f79be2668d2ade521edb23b851dd3991d6da11f78c54e2f7222
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.10

Release history Release notifications | RSS feed

This release

0.5.9 This release

2 release files

0.5.8

2 release files

0.5.7

2 release files

0.5.6

2 release files

0.5.5

2 release files

0.5.4

2 release files

0.5.3

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.7

2 release files

0.3.6

2 release files

0.3.5

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

1 release file

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page