pganda / diputados_morphio

Scrapes www.congreso.es

Congreso de los Diputados


Last run failed with status code 1.

Console output of last run

Traceback (most recent call last): File "/repo/scraper.py", line 9, in <module> response = mechanize.urlopen(request) File "/usr/local/lib/python2.7/dist-packages/mechanize/_opener.py", line 426, in urlopen return _opener.open(url, data, timeout) File "/usr/local/lib/python2.7/dist-packages/mechanize/_opener.py", line 204, in open response = meth(req, response) File "/usr/local/lib/python2.7/dist-packages/mechanize/_urllib2_fork.py", line 457, in http_response 'http', request, response, code, msg, hdrs) File "/usr/local/lib/python2.7/dist-packages/mechanize/_opener.py", line 221, in error result = apply(self._call_chain, args) File "/usr/local/lib/python2.7/dist-packages/mechanize/_urllib2_fork.py", line 332, in _call_chain result = func(*args) File "/usr/local/lib/python2.7/dist-packages/mechanize/_urllib2_fork.py", line 571, in http_error_302 return self.parent.open(new) File "/usr/local/lib/python2.7/dist-packages/mechanize/_opener.py", line 193, in open response = urlopen(self, req, data) File "/usr/local/lib/python2.7/dist-packages/mechanize/_urllib2_fork.py", line 344, in _open '_open', req) File "/usr/local/lib/python2.7/dist-packages/mechanize/_urllib2_fork.py", line 332, in _call_chain result = func(*args) File "/usr/local/lib/python2.7/dist-packages/mechanize/_urllib2_fork.py", line 1142, in http_open return self.do_open(httplib.HTTPConnection, req) File "/usr/local/lib/python2.7/dist-packages/mechanize/_urllib2_fork.py", line 1118, in do_open raise URLError(err) urllib2.URLError: <urlopen error [Errno -2] Name or service not known>

Data

Downloaded 1 time by MikeRalphson

To download data sign in with GitHub

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

rows 1 / 1

name occupation
susan
software developer

Statistics

Average successful run time: less than 5 seconds

Total run time: 1 minute

Total cpu time used: less than 5 seconds

Total disk space used: 24.7 KB

History

  • Manually ran revision a5a90551 and failed .
    nothing changed in the database
    1 page scraped
  • Manually ran revision a5a90551 and failed .
    nothing changed in the database
    1 page scraped
  • Manually ran revision 33c8b8db and failed .
    nothing changed in the database
    1 page scraped
  • Manually ran revision 2764e857 and failed .
    nothing changed in the database
    2 pages scraped
  • Manually ran revision 0512f650 and completed successfully .
    1 record added, 1 record removed in the database
  • ...
  • Created on morph.io

Show complete history

Scraper code

diputados_morphio