schlos / tjv_csv_scraper

CSV files sample scraper


Contributors schlos

Last run failed with status code 1.

Console output of last run

Injecting configuration and compiling... Injecting scraper and running... {'Zadnja izmjena': '2018-07-30 11:32:07', 'Tel. slu\xc5\xbebenika': '(+385 52) 855 375', 'Naziv tijela': '1. MAJ Labin d.o.o.', 'Adresa': 'Vine\xc5\xbe 81', 'E-mail. slu\xc5\xbebenika': 'ani.debeljuh@prvimaj.hr', 'Pravni status': 'Trgova\xc4\x8dka dru\xc5\xa1tva', 'Telefon': '(+385 52) 855 375', 'Osniva\xc4\x8d': 'Jedinica lokalne ili podru\xc4\x8dne (regionalne) samouprave', 'Ime i prezime slu\xc5\xbebenika': 'Ani Debeljuh', 'Www': 'www.prvimaj.hr', 'Djelatnost': 'Komunalne usluge i vodno gospodarstvo', 'Grad': 'Labin', 'E-mail': 'info@privimaj.hr', 'Fax': '(+385 52) 856 072', '\xef\xbb\xbfRb.': '1', 'Br. po\xc5\xa1te': '52220', 'OIB': '23557321379'} Traceback (most recent call last): File "scraper.py", line 15, in <module> scraperwiki.sqlite.save(['OIB'], record) File "/app/.heroku/src/scraperwiki/scraperwiki/sqlite.py", line 34, in save return dt.upsert(data, table_name = table_name) File "/app/.heroku/python/lib/python2.7/site-packages/dumptruck/dumptruck.py", line 301, in upsert self.insert(upsert=True, *args, **kwargs) File "/app/.heroku/python/lib/python2.7/site-packages/dumptruck/dumptruck.py", line 284, in insert self.execute(sql, values, commit=False) File "/app/.heroku/python/lib/python2.7/site-packages/dumptruck/dumptruck.py", line 136, in execute self.cursor.execute(sql, *args) sqlite3.ProgrammingError: You must not use 8-bit bytestrings unless you use a text_factory that can interpret 8-bit bytestrings (like text_factory = str). It is highly recommended that you instead just switch your application to Unicode strings.

Data

Downloaded 0 times

To download data sign in with GitHub

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

rows 0 / 0

Statistics

Average successful run time: 1 minute

Total run time: 7 minutes

Total cpu time used: less than 20 seconds

Total disk space used: 55.1 KB

History

  • Manually ran revision 3c72c3c7 and failed .
    nothing changed in the database
  • Manually ran revision 1fe72fbc and failed .
    nothing changed in the database
  • Manually ran revision cd629178 and failed .
    nothing changed in the database
  • Manually ran revision cd629178 and failed .
    nothing changed in the database
  • Manually ran revision b192db87 and failed .
    nothing changed in the database
  • ...
  • Created on morph.io

Show complete history

Scraper code

tjv_csv_scraper