Scraping Polish Senate
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
LICENSE
ParldataAPI.php
README.md
composer.json
composer.lock
config.php.default
process.php

README.md

Scraping Polish Senate

Installation

  1. Clone repo git clone https://github.com/epforgpl/parldata-scrapers-poland-senat && cd parldata-scrapers-poland-senat
  2. Install dependencies composer install Composer
  3. Configure it (specify password at least) cp config.php.default config.php && vim config.php
  4. Make first pass php process.php updateSenatorsList
  5. Make first pass php process.php updateSenators
  6. Disable first pass vim config.php
  7. Install crontab sudo php process.php crontab > /etc/cron.d/scrapers-poland-senat
  8. Enjoy data being pushed to http://api.parldata.eu/pl/senat