Scraper for ALLRIS
Project description
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 committee abbreviations will only work for Eimsbüttel as of now.
Requirements
Python 3.7+
Firefox installed
geckodriver binary in PATH
Initial setup
Install ALLRIS scraper pip install twomartens.allrisscraper (you need Python 3.7+)
Run ALLRIS scraper a first time tm-allrisscraper (creates config ini in your current working directory)
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
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
File details
Details for the file twomartens.allrisscraper-0.3.6.tar.gz
.
File metadata
- Download URL: twomartens.allrisscraper-0.3.6.tar.gz
- Upload date:
- Size: 15.7 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5778f7a0d0069e032532372d74ff280cd00c258216ce52ec97d7601ebb12f7cf |
|
MD5 | ac6052d67045e39d79f22dc4d69c0188 |
|
BLAKE2b-256 | 058a0e86bf13ded5953400eb0aeb33e517e8d6e8a07f8c1f60998b8e3477a18a |
File details
Details for the file twomartens.allrisscraper-0.3.6-py3-none-any.whl
.
File metadata
- Download URL: twomartens.allrisscraper-0.3.6-py3-none-any.whl
- Upload date:
- Size: 13.6 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 566821970565f8d758600c15957c25b3cf13b54120e63165dac8b85dbd76875e |
|
MD5 | 34bbf8b957e00ac7e5808575bc50cd88 |
|
BLAKE2b-256 | 60b6dde22a4196db625e9f60ef38da2c55c5a07c7327ba1216beb37a39ad2eb3 |