blablupcom / sp_E4210_WMBC_gov

Scrapes www.wigan.gov.uk

Information for local residents, visitors and local businesses


Contributors blablupcom

Last run completed successfully .

Console output of last run

Injecting configuration and compiling...  -----> Python app detected -----> Installing python-2.7.14 -----> Installing pip -----> Installing requirements with pip  Obtaining scraperwiki from git+http://github.com/openaustralia/scraperwiki-python.git@morph_defaults#egg=scraperwiki (from -r /tmp/build/requirements.txt (line 6))  Cloning http://github.com/openaustralia/scraperwiki-python.git (to morph_defaults) to /app/.heroku/src/scraperwiki  Collecting beautifulsoup4==4.2.0 (from -r /tmp/build/requirements.txt (line 7))  Downloading beautifulsoup4-4.2.0.tar.gz (63kB)  Collecting grequests==0.2.0 (from -r /tmp/build/requirements.txt (line 8))  Downloading grequests-0.2.0.tar.gz  Collecting lxml==3.4.4 (from -r /tmp/build/requirements.txt (line 9))  Downloading lxml-3.4.4.tar.gz (3.5MB)  Collecting cssselect==0.9.1 (from -r /tmp/build/requirements.txt (line 10))  Downloading cssselect-0.9.1.tar.gz  Collecting dumptruck>=0.1.2 (from scraperwiki->-r /tmp/build/requirements.txt (line 6))  Downloading dumptruck-0.1.6.tar.gz  Collecting requests (from scraperwiki->-r /tmp/build/requirements.txt (line 6))  Downloading requests-2.18.4-py2.py3-none-any.whl (88kB)  Collecting gevent (from grequests==0.2.0->-r /tmp/build/requirements.txt (line 8))  Downloading gevent-1.2.2-cp27-cp27mu-manylinux1_x86_64.whl (1.6MB)  Collecting idna<2.7,>=2.5 (from requests->scraperwiki->-r /tmp/build/requirements.txt (line 6))  Downloading idna-2.6-py2.py3-none-any.whl (56kB)  Collecting urllib3<1.23,>=1.21.1 (from requests->scraperwiki->-r /tmp/build/requirements.txt (line 6))  Downloading urllib3-1.22-py2.py3-none-any.whl (132kB)  Collecting certifi>=2017.4.17 (from requests->scraperwiki->-r /tmp/build/requirements.txt (line 6))  Downloading certifi-2018.1.18-py2.py3-none-any.whl (151kB)  Collecting chardet<3.1.0,>=3.0.2 (from requests->scraperwiki->-r /tmp/build/requirements.txt (line 6))  Downloading chardet-3.0.4-py2.py3-none-any.whl (133kB)  Collecting greenlet>=0.4.10 (from gevent->grequests==0.2.0->-r /tmp/build/requirements.txt (line 8))  Downloading greenlet-0.4.13-cp27-cp27mu-manylinux1_x86_64.whl (41kB)  Installing collected packages: dumptruck, idna, urllib3, certifi, chardet, requests, scraperwiki, beautifulsoup4, greenlet, gevent, grequests, lxml, cssselect  Running setup.py install for dumptruck: started  Running setup.py install for dumptruck: finished with status 'done'  Running setup.py develop for scraperwiki  Running setup.py install for beautifulsoup4: started  Running setup.py install for beautifulsoup4: finished with status 'done'  Running setup.py install for grequests: started  Running setup.py install for grequests: finished with status 'done'  Running setup.py install for lxml: started  Running setup.py install for lxml: still running...  Running setup.py install for lxml: finished with status 'done'  Running setup.py install for cssselect: started  Running setup.py install for cssselect: finished with status 'done'  Successfully installed beautifulsoup4-4.2.0 certifi-2018.1.18 chardet-3.0.4 cssselect-0.9.1 dumptruck-0.1.6 gevent-1.2.2 greenlet-0.4.13 grequests-0.2.0 idna-2.6 lxml-3.4.4 requests-2.18.4 scraperwiki urllib3-1.22   -----> Discovering process types  Procfile declares types -> scraper Injecting scraper and running... E4210_WMBC_gov_2018_Y1 E4210_WMBC_gov_2017_Y1 E4210_WMBC_gov_2016_Y1 E4210_WMBC_gov_2015_Y1 E4210_WMBC_gov_2014_Y1 E4210_WMBC_gov_2013_Y1 E4210_WMBC_gov_2012_Y1

Statistics

Average successful run time: 3 minutes

Total run time: 3 minutes

Total cpu time used: less than 5 seconds

Total disk space used: 2.44 MB

History

  • Manually ran revision 421ec88c and completed successfully .
    7 records added in the database
    8 pages scraped
  • Created on morph.io

Scraper code

Python

sp_E4210_WMBC_gov / scraper.py