Skip to content

Scraper(s) to help the journalists retrieve data or monitor sites for potential leads for stories

Notifications You must be signed in to change notification settings

kristeligt-dagblad/scrapers_for_journalists

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

scrapers-for-journalists

Scraper(s) to help the journalists retrieve data or monitor sites for potential leads for stories.

Using the scrapers

pip install scrapers_for_journalists==0.1.0

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

About

Scraper(s) to help the journalists retrieve data or monitor sites for potential leads for stories

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages