JureStabuc / ccgboards_examplebroken


Scrapes www.brentccg.nhs.uk and brentccg.nhs.uk

Home - Brent CCG

Tutorial (intentionally broken) scraper for the ebook Scraping for Journalists demonstrating how to scrape multiple sites with a shared content management system, and deal with error handling.

Forked from ScraperWiki

Contributors JureStabuc

Last run failed with status code 1.

Console output of last run

Injecting configuration and compiling... Injecting scraper and running... Traceback (most recent call last): File "scraper.py", line 57, in <module> scrape_divs('http://'+ccg+'about-us/governing-body/governing-body-members.aspx') File "scraper.py", line 9, in scrape_divs html = scraperwiki.scrape(url) File "/app/.heroku/src/scraperwiki/scraperwiki/utils.py", line 31, in scrape f = urllib2.urlopen(req) File "/app/.heroku/python/lib/python2.7/urllib2.py", line 127, in urlopen return _opener.open(url, data, timeout) File "/app/.heroku/python/lib/python2.7/urllib2.py", line 410, in open response = meth(req, response) File "/app/.heroku/python/lib/python2.7/urllib2.py", line 523, in http_response 'http', request, response, code, msg, hdrs) File "/app/.heroku/python/lib/python2.7/urllib2.py", line 442, in error result = self._call_chain(*args) File "/app/.heroku/python/lib/python2.7/urllib2.py", line 382, in _call_chain result = func(*args) File "/app/.heroku/python/lib/python2.7/urllib2.py", line 629, in http_error_302 return self.parent.open(new, timeout=req.timeout) File "/app/.heroku/python/lib/python2.7/urllib2.py", line 410, in open response = meth(req, response) File "/app/.heroku/python/lib/python2.7/urllib2.py", line 523, in http_response 'http', request, response, code, msg, hdrs) File "/app/.heroku/python/lib/python2.7/urllib2.py", line 448, in error return self._call_chain(*args) File "/app/.heroku/python/lib/python2.7/urllib2.py", line 382, in _call_chain result = func(*args) File "/app/.heroku/python/lib/python2.7/urllib2.py", line 531, in http_error_default raise HTTPError(req.get_full_url(), code, msg, hdrs, fp) urllib2.HTTPError: HTTP Error 404: Not Found


Downloaded 2 times by MikeRalphson

To download data sign in with GitHub

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

rows 10 / 102

URL Name Description Title
Philip Young
Philip has a background as a Chartered Accountant and a Management Consultant who then spent some 25 years in a series of senior positions in the Financial Services Sector. Philip retired some 8 years ago and now holds a range of non-executive and trustee roles in the public and voluntary sector. Philip is a lay member for Ealing CCG.
Non-Executive Director
Dr Raj Chandok
Raj has been a General Practitioner in the United Kingdom since 2001. He is the Vice Chair of Ealing Clinical Commissioning Group and the Chair of Ealing Integrated Care Pilot. He is the Lead Partner of a General Practice in North West London providing high quality Primary Care Services for 11,000 patients. He has a Masters in Medical Ethics.  Raj also leads on diabetes for the CCG and is Chair of the Clinical Quality Group for Ealing Hospital Trust.
Vice Chair
Dr Arjun Dhillon
Arjun qualified from University College London and completed a medical rotation including Watford, Ealing, The Royal Free and Barts & The London Hospitals. He then retrained as a GP on the Hillingdon VTS. He is a GP partner at The Argyle Surgery in West Ealing. He is Ealing CCG lead for Prescribing, Ophthalmology, Infectious Diseases, IT & Diagnostics. He is vice chair of the RCGP Health informatics Group and co–vice chair of the JGPITC.
Board Member
Fionnuala O’donnell
Fin has been a Practice Manager in Ealing for ten years. She is the Practice Manager Representative on the Ealing Clinical Commissioning Group.  Her responsibilities include Practice Manager and Workforce Development, Patient and Public Engagement and Equality and Diversity.
Board Member
Sally Armstrong
Sally has been a Practice Nurse at Cuckoo Lane Surgery, Hanwell, for 8 years specialising in Cardiovascular and Respiratory care and coordinating research within the practice. She previously worked at Imperial College as a Research Sister organising Elderly Care Out Patient Studies in Hypertension, Dementia and Diabetes. Sally produces the monthly CCG newsletter and is involved in Practice Engagement, Respiratory and Children's Services for the CCG. She is Chair of the Ealing Practice Nurse Forum.
Board Member
Carmel Cahill
As well as sitting as an associate board member on the EECG Carmel participates in the PPE sub-group and a number of working groups. She currently works as Deputy Chief Executive of Ealing Community and Voluntary Service and previous worked for over 20 years as a senior marketing executive in international hotels.  In the local community she has been a lay board member of the Northolt Greenford and Perivale PCG and Chair of Northolt Sure Start.
Chair Ealing Links - Associate Board Member
Dr Mohammad Alzarrad
Mohammed has been working in Southall - Ealing for the past 12 years as a principal GP partner. He is an LMC representative and was formerly vice chair of the Southall Locality group. He has an interest in diabetes and cardiovascular disease and is one of the assessors for the Ealing referral facilitation service.  Mohammed is Deputy Clinical lead of the RFS and medicine management redesign team; and is lead of the Southall Health Network.
Board Member
Dr Robert McLaren
Robert qualified as a GP in 2005 having trained in Brent.  He subsequently undertook salaried posts in Hammersmith and Harlesden before becoming a Partner in Northfields Surgery in 2008.  He setup one of the earliest Health Networks in Ealing in 2010 which he now co-chairs for the ICP.  He was on the transitional board from 2010-11 and re-joined the board in 2012.  He has been the IT lead for Ealing CCG throughout the CCGs formation.
Board Member
Dr Zaheer Nasir
Zahir is the sessional GP lead and member of the ECCG board. He works as sessional GP in the Urgent Care Centres of Hillingdon Hospital and West Middlesex Hospital and also works in a local practice for 2 days a week. Zaheer leads on effective engagement of sessional GPs which comprise about 50% of the GP work force in Ealing. The priority areas within his brief are engagement of sessional GPs with the new RFS service, prescribing, ICP and health networks.
Board Member
Philip Portwood
Philip was an East Acton Councillor for twenty two years, being elected in six successive elections. He has served longer as an East Acton Councillor than any other person in the history of local government in Acton (which began in 1895). Philip was the Millennium Mayor of the Borough. He is a Director of the Acton Community Forum, and a Trustee of both the Acton (Middlesex) Charities and the Imperial College Healthcare Charity.
Board Member


Total run time: less than 20 seconds

Total cpu time used: less than 5 seconds

Total disk space used: 87.4 KB


  • Manually ran revision 53eb14ad and failed .
    nothing changed in the database
    2 pages scraped
  • Forked from ScraperWiki

Scraper code


ccgboards_examplebroken / scraper.py