Last run failed with status code 1.

Console output of last run

Injecting configuration and compiling... Injecting scraper and running... Generating SQLite output from the OST.pt API... Downloading page 1... Traceback (most recent call last): File "scraper.py", line 78, in <module> scrape() File "scraper.py", line 25, in scrape generate_db_from_api(API_URL) File "scraper.py", line 48, in generate_db_from_api response = urllib2.urlopen(url) 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 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 401: UNAUTHORIZED

Data

Downloaded 3 times by agribeiro MikeRalphson

To download data sign in with GitHub

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

rows 10 / 1108

stop_code lat stop_desc stop_name lon id
Praca Dom Dinis
-8.4228
Praca D. Dinis - Universidade de Coimbra
Pr. D. Dinis
40.2082
4753
Sao Romao
-8.4034
Sao Romao
Sao Romao
40.2233
8827
ARCA
-8.417
Estr. de ligacao Ingote - Lordemao (ARCA)-Sent. Lordemao
ARCA
40.2355
9130
ARCA
-8.4172
Estr. de ligacao Ingote - Lordemao (ARCA) -Sent.Ingote
ARCA
40.2355
9131
Bairro da Liberdade (Cruzamento)
-8.4269
Est. de ligacao Ingote - Lordemao (Bairro da Liberdade - Cruz.) Sent. Ingote
B.Liberdade(X)
40.233
9134
Bairro da Liberdade (Cruzamento)
-8.4266
Est. de ligacao Ingote - Lordemao (Bairro da Liberdade - Cruz.) Sent. ARCA
B.Liberdade(X)
40.2331
9135
Quinta do Melo (Cruzamento)
-8.421235
Est. de ligacao Ingote - Lordemao (Quinta do Melo - Cruz.) Sent. ARCA
Qta do Melo
40.23414
9136
Quinta do Melo (Cruzamento)
-8.421653
Est. de ligacao Ingote - Lordemao (Quinta do Melo - Cruz.) Sent. Ingote
Qta do Melo
40.234153
9137
Instituto de Lordemao
-8.414
Estr. de ligacao Ingote - Lordemao (Inst. de Lordemao)
Inst. de Lordemao
40.2356
9257
Taveiro (Centro)
-8.5025
E.N. 110-2 Taveiro (Centro) - Junto a Capela - Sent. Coimbra
Taveiro (C)
40.2024
10182

Statistics

Average successful run time: less than a minute

Total run time: about 4 hours

Total cpu time used: 7 minutes

Total disk space used: 172 KB

History

  • Auto ran revision 2942d2ff and failed .
    nothing changed in the database
    1 page scraped
  • Auto ran revision 2942d2ff and failed .
    nothing changed in the database
    1 page scraped
  • Auto ran revision 2942d2ff and failed .
    nothing changed in the database
    1 page scraped
  • Auto ran revision 2942d2ff and failed .
    nothing changed in the database
    1 page scraped
  • Auto ran revision 2942d2ff and failed .
    nothing changed in the database
    1 page scraped
  • ...
  • Created on morph.io

Show complete history

Scraper code

scraper-ost-smtuc