Skip to content

pkfkmkz/uf-scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

This is a simple Django app to fetch historical UF values from Banco Central de Chile. It works on BeautifulSoup, Selenium and PhantomJS.

Installation

Install python packages:

pip install -r requirements.txt

Install PhantomJS:

Follow instructions from https://gist.github.com/julionc/7476620

Use

Fetch UF historical data:

python manage.py shell
from uf.views import scrape_uf
scrape_uf()

Run app:

python manage.py runserver

Check results:

http:https://127.0.0.1:8000/uf/list
http:https://127.0.0.1:8000/uf/price?value=25&date=19981021

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published