wilsonfreitas / taxa_di

Taxa DI

Scrapes www.cetip.com.br

A Cetip é a integradora do mercado financeiro. É uma companhia de capital aberto que oferece serviços de registro, central depositária, negociação e liquidação de ativos e títulos


This is a scraper that runs on Morph. To get started see the documentation

Contributors wilsonfreitas

Last run completed successfully .

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.9, 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.9 -----> Installing pip -----> Installing requirements with pip  Collecting git+http://github.com/wilsonfreitas/textparser.git (from -r /tmp/build/requirements.txt (line 7))  Cloning http://github.com/wilsonfreitas/textparser.git to /tmp/pip-jK3M5p-build  Obtaining scraperwiki from git+http://github.com/openaustralia/scraperwiki-python.git@morph_defaults#egg=scraperwiki (from -r /tmp/build/requirements.txt (line 6))  Cloning http://github.com/openaustralia/scraperwiki-python.git (to morph_defaults) to /app/.heroku/src/scraperwiki  Collecting lxml==3.4.4 (from -r /tmp/build/requirements.txt (line 9))  Downloading lxml-3.4.4.tar.gz (3.5MB)  Collecting cssselect==0.9.1 (from -r /tmp/build/requirements.txt (line 10))  Downloading cssselect-0.9.1.tar.gz  Collecting dumptruck>=0.1.2 (from scraperwiki->-r /tmp/build/requirements.txt (line 6))  Downloading dumptruck-0.1.6.tar.gz  Collecting requests (from scraperwiki->-r /tmp/build/requirements.txt (line 6))  Downloading requests-2.18.4-py2.py3-none-any.whl (88kB)  Collecting idna<2.7,>=2.5 (from requests->scraperwiki->-r /tmp/build/requirements.txt (line 6))  Downloading idna-2.6-py2.py3-none-any.whl (56kB)  Collecting urllib3<1.23,>=1.21.1 (from requests->scraperwiki->-r /tmp/build/requirements.txt (line 6))  Downloading urllib3-1.22-py2.py3-none-any.whl (132kB)  Collecting certifi>=2017.4.17 (from requests->scraperwiki->-r /tmp/build/requirements.txt (line 6))  Downloading certifi-2018.1.18-py2.py3-none-any.whl (151kB)  Collecting chardet<3.1.0,>=3.0.2 (from requests->scraperwiki->-r /tmp/build/requirements.txt (line 6))  Downloading chardet-3.0.4-py2.py3-none-any.whl (133kB)  Installing collected packages: dumptruck, idna, urllib3, certifi, chardet, requests, scraperwiki, lxml, cssselect, textparser  Running setup.py install for dumptruck: started  Running setup.py install for dumptruck: finished with status 'done'  Running setup.py develop for scraperwiki  Running setup.py install for lxml: started  Running setup.py install for lxml: still running...  Running setup.py install for lxml: finished with status 'done'  Running setup.py install for cssselect: started  Running setup.py install for cssselect: finished with status 'done'  Running setup.py install for textparser: started  Running setup.py install for textparser: finished with status 'done'  Successfully installed certifi-2018.1.18 chardet-3.0.4 cssselect-0.9.1 dumptruck-0.1.6 idna-2.6 lxml-3.4.4 requests-2.18.4 scraperwiki textparser-0.1.0 urllib3-1.22   -----> Discovering process types  Procfile declares types -> scraper Injecting scraper and running...

Data

Downloaded 9 times by wilsonfreitas MikeRalphson

To download data sign in with GitHub

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

rows 10 / 536

rate date
13.64
2015-06-15
13.64
2015-06-16
13.64
2015-06-17
13.64
2015-06-18
13.64
2015-06-19
13.64
2015-06-22
13.64
2015-06-23
13.64
2015-06-25
13.64
2015-06-26
13.64
2015-06-30

Statistics

Average successful run time: 2 minutes

Total run time: about 1 month

Total cpu time used: 7 minutes

Total disk space used: 54.4 KB

History

  • Auto ran revision 5bc06848 and completed successfully .
    1 record added in the database
    2 pages scraped
  • Auto ran revision 5bc06848 and completed successfully .
    1 record added, 1 record removed in the database
  • Auto ran revision 5bc06848 and completed successfully .
    1 record added in the database
    2 pages scraped
  • Auto ran revision 5bc06848 and completed successfully .
    1 record added in the database
  • Auto ran revision 5bc06848 and completed successfully .
    1 record added in the database
    3 pages scraped
  • ...
  • Created on morph.io

Show complete history

Scraper code

Python

taxa_di / scraper.py