Scrapers that helps journalists at Kristeligt Dagblad
Project description
scrapers-for-journalists
Scraper(s) to help the journalists retrieve data or monitor sites for potential leads for stories.
Using the scrapers
pip install git+https://github.com/kristeligt-dagblad/scrapers_for_journalists.git
And then import a scraper, e.g. from domstoldk.retrive import DomStolScrape
Every file in utils/can be imported in your scrapers, as it is added as a package in pyproject.toml. For example, you can import the BaseScraper with generic utilities like: from base import BaseScraper.
Description of current scrapers
domstol.dk
This scrapers retrieves information about current court cases ("retslister") in Danish "byretter" (Currently, Højesteret etc. are not included). Civil cases and tvangsauktioner are filtered away. Relevance of the cases are estimated based on keywords and "gerningskoder" (types of crimes) from the Danish Police.
To run it manually, use:
poetry run python domstol-dk/retrieve.py --outfile test.xlsx
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file scrapers_for_journalists-0.1.0.tar.gz.
File metadata
- Download URL: scrapers_for_journalists-0.1.0.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.10.12 Linux/6.5.0-1025-oem
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e1f77d4208e12745518378545de821b87d46010397e1f71cf3a62bf5d694c1a5
|
|
| MD5 |
cdc61d32ee424f680e45401be5f89369
|
|
| BLAKE2b-256 |
f770a4fc3b015d6af3f6a5aff48868f29545b2509a7d18ebca6b56f3d2a84513
|
File details
Details for the file scrapers_for_journalists-0.1.0-py3-none-any.whl.
File metadata
- Download URL: scrapers_for_journalists-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.10.12 Linux/6.5.0-1025-oem
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
90a677da3b159e243fe962db7c46434130f6da19849de4d237a8b5f4e63ccf10
|
|
| MD5 |
2b22fa0a9e5f5d80ea4f2963f591ec5f
|
|
| BLAKE2b-256 |
43908b7f5b427aaf649e1dbf726e831faea4c7974ec0ff337012e252efd5ef60
|