Skip to content

Latest commit

 

History

History
12 lines (10 loc) · 871 Bytes

README.md

File metadata and controls

12 lines (10 loc) · 871 Bytes

lokale-partijen

Lokale partijen

Usage

  1. This depends on Google's Custom Search (and API). You need to buld a custom search here (Copy the search engine ID) and enable the Custom Search API in Cloud Developer's console and copy the API Key
  2. cp config.ini.example config.ini and edit it accordingly (cx is the custom search ID and dev_key is the developer key)
  3. docker-compose up -d
  4. docker exec python bin/parse_election_results.py >data/lokaal.json
  5. docker exec python bin/find_blogs.py >data/lokaal-with-feeds.json
  6. docker exec python bin/find_content_in_feeds.py >data/lokaal-full-content.json