blablupcom / E0102_BCC_gov

Scrapes www.bristol.gov.uk

Bristol City Council Homepage | Bristol City Council


Contributors blablupcom

Last run completed successfully .

Console output of last run

Injecting configuration and compiling... -----> Python app detected -----> Stack changed, re-installing runtime -----> Installing runtime (python-2.7.6) -----> Installing dependencies with pip  Obtaining scraperwiki from git+http://github.com/openaustralia/scraperwiki-python.git@morph_defaults#egg=scraperwiki (from -r requirements.txt (line 1))  Cloning http://github.com/openaustralia/scraperwiki-python.git (to morph_defaults) to ./.heroku/src/scraperwiki  Collecting lxml==3.4.4 (from -r requirements.txt (line 2))  Downloading lxml-3.4.4.tar.gz (3.5MB)  Building lxml version 3.4.4.  Building without Cython.  Using build configuration of libxslt 1.1.28  /app/.heroku/python/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'bugtrack_url'  warnings.warn(msg)  Collecting cssselect==0.9.1 (from -r requirements.txt (line 3))  Downloading cssselect-0.9.1.tar.gz  Collecting beautifulsoup4 (from -r requirements.txt (line 4))  Downloading beautifulsoup4-4.4.0-py2-none-any.whl (81kB)  Collecting python-dateutil (from -r requirements.txt (line 5))  Downloading python_dateutil-2.4.2-py2.py3-none-any.whl (188kB)  Collecting dumptruck>=0.1.2 (from scraperwiki->-r requirements.txt (line 1))  Downloading dumptruck-0.1.6.tar.gz  Collecting requests (from scraperwiki->-r requirements.txt (line 1))  Downloading requests-2.7.0-py2.py3-none-any.whl (470kB)  Collecting six>=1.5 (from python-dateutil->-r requirements.txt (line 5))  Downloading six-1.9.0-py2.py3-none-any.whl  Installing collected packages: six, requests, dumptruck, python-dateutil, beautifulsoup4, cssselect, lxml, scraperwiki    Running setup.py install for dumptruck    Running setup.py install for cssselect  Running setup.py install for lxml  Building lxml version 3.4.4.  Building without Cython.  Using build configuration of libxslt 1.1.28  /app/.heroku/python/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'bugtrack_url'  warnings.warn(msg)  building 'lxml.etree' extension  gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/include/libxml2 -I/tmp/pip-build-S3gMnA/lxml/src/lxml/includes -I/app/.heroku/python/include/python2.7 -c src/lxml/lxml.etree.c -o build/temp.linux-x86_64-2.7/src/lxml/lxml.etree.o -w  gcc -pthread -shared build/temp.linux-x86_64-2.7/src/lxml/lxml.etree.o -L/app/.heroku/python/lib -lxslt -lexslt -lxml2 -lz -lm -lpython2.7 -o build/lib.linux-x86_64-2.7/lxml/etree.so  building 'lxml.objectify' extension  gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/include/libxml2 -I/tmp/pip-build-S3gMnA/lxml/src/lxml/includes -I/app/.heroku/python/include/python2.7 -c src/lxml/lxml.objectify.c -o build/temp.linux-x86_64-2.7/src/lxml/lxml.objectify.o -w  gcc -pthread -shared build/temp.linux-x86_64-2.7/src/lxml/lxml.objectify.o -L/app/.heroku/python/lib -lxslt -lexslt -lxml2 -lz -lm -lpython2.7 -o build/lib.linux-x86_64-2.7/lxml/objectify.so  Running setup.py develop for scraperwiki  Creating /app/.heroku/python/lib/python2.7/site-packages/scraperwiki.egg-link (link to .)  Adding scraperwiki 0.3.7 to easy-install.pth file  Installed /app/.heroku/src/scraperwiki  Successfully installed beautifulsoup4-4.4.0 cssselect-0.9.1 dumptruck-0.1.6 lxml-3.4.4 python-dateutil-2.4.2 requests-2.7.0 scraperwiki six-1.9.0  -----> Discovering process types  Procfile declares types -> scraper Injecting scraper and running... /app/.heroku/python/lib/python2.7/site-packages/bs4/__init__.py:166: UserWarning: No parser was explicitly specified, so I'm using the best available HTML parser for this system ("lxml"). This usually isn't a problem, but if you run this code on another system, or in a different virtual environment, it may use a different parser and behave differently. To get rid of this warning, change this: BeautifulSoup([your markup]) to this: BeautifulSoup([your markup], "lxml") markup_type=markup_type)) E0102_BCC_gov_2015_06 E0102_BCC_gov_2015_05 E0102_BCC_gov_2015_04 E0102_BCC_gov_2015_03 E0102_BCC_gov_2015_02 E0102_BCC_gov_2015_01 E0102_BCC_gov_2014_12 E0102_BCC_gov_2014_11 E0102_BCC_gov_2014_10 E0102_BCC_gov_2014_09 E0102_BCC_gov_2014_08 E0102_BCC_gov_2014_07 E0102_BCC_gov_2014_06 E0102_BCC_gov_2014_05 E0102_BCC_gov_2014_04 E0102_BCC_gov_2014_03 E0102_BCC_gov_2014_02 E0102_BCC_gov_2014_01 E0102_BCC_gov_2013_12 E0102_BCC_gov_2013_11 E0102_BCC_gov_2013_10 E0102_BCC_gov_2013_09 E0102_BCC_gov_2013_08 E0102_BCC_gov_2013_07 E0102_BCC_gov_2013_06 E0102_BCC_gov_2013_05 E0102_BCC_gov_2013_04 E0102_BCC_gov_2013_03 E0102_BCC_gov_2013_02 E0102_BCC_gov_2013_01 E0102_BCC_gov_2012_12 E0102_BCC_gov_2012_11 E0102_BCC_gov_2012_10 E0102_BCC_gov_2012_09 E0102_BCC_gov_2012_08 E0102_BCC_gov_2012_07 E0102_BCC_gov_2012_06 E0102_BCC_gov_2012_05 E0102_BCC_gov_2012_04 E0102_BCC_gov_2012_03 E0102_BCC_gov_2012_02 E0102_BCC_gov_2012_01 E0102_BCC_gov_2011_12 E0102_BCC_gov_2011_11 E0102_BCC_gov_2011_10 E0102_BCC_gov_2011_09 E0102_BCC_gov_2011_08 E0102_BCC_gov_2011_07 E0102_BCC_gov_2011_06 E0102_BCC_gov_2011_05 E0102_BCC_gov_2011_04 E0102_BCC_gov_2011_03 E0102_BCC_gov_2011_02 E0102_BCC_gov_2011_01 E0102_BCC_gov_2010_12 E0102_BCC_gov_2010_11 E0102_BCC_gov_2010_10 E0102_BCC_gov_2010_09 E0102_BCC_gov_2010_08

Data

Downloaded 3 times by MikeRalphson

To download data sign in with GitHub

Download table (as CSV) Download SQLite database (12 KB) Use the API

rows 10 / 59

l f d
E0102_BCC_gov_2015_06
2015-07-14 23:00:42.661563
E0102_BCC_gov_2015_05
2015-07-14 23:00:45.684774
E0102_BCC_gov_2015_04
2015-07-14 23:00:48.191428
E0102_BCC_gov_2015_03
2015-07-14 23:00:50.713566
E0102_BCC_gov_2015_02
2015-07-14 23:00:54.079281
E0102_BCC_gov_2015_01
2015-07-14 23:00:56.847626
E0102_BCC_gov_2014_12
2015-07-14 23:00:59.666126
E0102_BCC_gov_2014_11
2015-07-14 23:01:02.995373
E0102_BCC_gov_2014_10
2015-07-14 23:01:05.867994
E0102_BCC_gov_2014_09
2015-07-14 23:01:11.289477

Statistics

Average successful run time: 7 minutes

Total run time: 8 minutes

Total cpu time used: less than 5 seconds

Total disk space used: 36.8 KB

History

  • Manually ran revision 6312cbe6 and completed successfully .
    59 records added in the database
    60 pages scraped
  • Manually ran revision 29268a2f and failed .
    nothing changed in the database
  • Created on morph.io

Scraper code

Python

E0102_BCC_gov / scraper.py