spendright / scrape-urls

Scrape URLs from SpendRight data for Facebook link, Twitter handle etc.


Contributors davidmarin

Last run failed with status code 1.

Console output of last run

Injecting configuration and compiling...  -----> Python app detected  ! The latest version of Python 2 is python-2.7.14 (you are using python-2.7.6, which is unsupported).  ! We recommend upgrading by specifying the latest version (python-2.7.14).  Learn More: https://devcenter.heroku.com/articles/python-runtimes -----> Installing python-2.7.6 -----> Installing pip -----> Installing requirements with pip  Collecting Unidecode==0.04.9 (from -r /tmp/build/requirements.txt (line 2))  /app/.heroku/python/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#snimissingwarning.  SNIMissingWarning  /app/.heroku/python/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning.  InsecurePlatformWarning  Downloading Unidecode-0.04.9.tar.gz (196kB)  Collecting beautifulsoup4==4.1.3 (from -r /tmp/build/requirements.txt (line 3))  Downloading beautifulsoup4-4.1.3.tar.gz (58kB)  Collecting dumptruck==0.1.6 (from -r /tmp/build/requirements.txt (line 4))  Downloading dumptruck-0.1.6.tar.gz  Collecting html5lib==0.90 (from -r /tmp/build/requirements.txt (line 5))  Downloading html5lib-0.90.tar.gz (86kB)  Collecting requests==1.0.4 (from -r /tmp/build/requirements.txt (line 6))  Downloading requests-1.0.4.tar.gz (336kB)  Installing collected packages: Unidecode, beautifulsoup4, dumptruck, html5lib, requests  Running setup.py install for Unidecode: started  Running setup.py install for Unidecode: finished with status 'done'  Running setup.py install for beautifulsoup4: started  Running setup.py install for beautifulsoup4: finished with status 'done'  Running setup.py install for dumptruck: started  Running setup.py install for dumptruck: finished with status 'done'  Running setup.py install for html5lib: started  Running setup.py install for html5lib: finished with status 'done'  Running setup.py install for requests: started  Running setup.py install for requests: finished with status 'done'  Successfully installed Unidecode-0.4.9 beautifulsoup4-4.1.3 dumptruck-0.1.6 html5lib-0.90 requests-1.0.4   ! Hello! It looks like your application is using an outdated version of Python.  ! This caused the security warning you saw above during the 'pip install' step.  ! We recommend 'python-3.6.2', which you can specify in a 'runtime.txt' file.  ! -- Much Love, Heroku.   -----> Discovering process types  Procfile declares types -> scraper Injecting scraper and running... Traceback (most recent call last): File "scraper.py", line 23, in <module> from srs.db import create_table_if_not_exists ImportError: No module named srs.db

Data

Downloaded 357 times by spendright-scrapers MikeRalphson janes Sohuth bigsmaug

To download data sign in with GitHub

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

rows 10 / 4565

Statistics

Average successful run time: about 10 hours

Total run time: 3 months

Total cpu time used: 1 day

Total disk space used: 982 KB

History

  • Auto ran revision 91ffedb1 and failed .
    nothing changed in the database
  • Auto ran revision 91ffedb1 and failed .
    nothing changed in the database
  • Auto ran revision 91ffedb1 and failed .
    nothing changed in the database
  • Auto ran revision 91ffedb1 and failed .
    nothing changed in the database
  • Auto ran revision 91ffedb1 and failed .
    nothing changed in the database
  • ...
  • Created on morph.io

Show complete history

Scraper code

Python

scrape-urls / scraper.py