Public Data Scraper for Parliament Data for the EU and other Parliaments
Python
1,401
29 commits
updated Apr 24, 2017
Public Data Scraper for Parliament Data for the EU and other Parliaments
git clone https://github.com/fossasia/parliament-scaper.gitbundle install to install the required gemsruby eu_scraper.rb or ./eu_scraper.rbgit clone https://github.com/DengYiping/parliament-scaper.gitsbt runpip install -r requirements.txt$ python eu_scraper.pypython-async folder with
virtualenv --python=python3.4 venvsource venv/bin/activatepip install -r requirements.txt$ python parser.pyChanging the parser behavior
YEARS_TO_PARSE in order to parse data from different yearsFOLDER_TO_DOWNLOAD in order to change the name of the folder to download the data into.This scraper uses the BeautifulSoup package to parse and extract data from parliament's site. The script can also calculate how many pages it has to download based on the number of questions to be scraped.
pip install -r requirements.txt$ python scraper.pyThis scraper uses the BeautifulSoup package to parse and extract data from parliament's site. The script can also calculate how many pages it has to download based on the number of docs to be scraped.
Generic Scraper - All years, All languages. Scrapes entire database.
pip install -r requirements.txt$ python scrape_it_all.py2,153 followers · starred Nov 2016
315 followers · starred Nov 2017
298 followers · starred Dec 2017
62 followers · starred Sep 2019
Public Data Scraper for Parliament Data for the EU and other Parliaments
Python
1,401
29 commits
updated Apr 24, 2017
Public Data Scraper for Parliament Data for the EU and other Parliaments
git clone https://github.com/fossasia/parliament-scaper.gitbundle install to install the required gemsruby eu_scraper.rb or ./eu_scraper.rbgit clone https://github.com/DengYiping/parliament-scaper.gitsbt runpip install -r requirements.txt$ python eu_scraper.pypython-async folder with
virtualenv --python=python3.4 venvsource venv/bin/activatepip install -r requirements.txt$ python parser.pyChanging the parser behavior
YEARS_TO_PARSE in order to parse data from different yearsFOLDER_TO_DOWNLOAD in order to change the name of the folder to download the data into.This scraper uses the BeautifulSoup package to parse and extract data from parliament's site. The script can also calculate how many pages it has to download based on the number of questions to be scraped.
pip install -r requirements.txt$ python scraper.pyThis scraper uses the BeautifulSoup package to parse and extract data from parliament's site. The script can also calculate how many pages it has to download based on the number of docs to be scraped.
Generic Scraper - All years, All languages. Scrapes entire database.
pip install -r requirements.txt$ python scrape_it_all.py2,153 followers · starred Nov 2016
315 followers · starred Nov 2017
298 followers · starred Dec 2017
62 followers · starred Sep 2019