shatteringlass / bitscraper Goto Github PK
View Code? Open in Web Editor NEWWeb scraper for Borsa Italiana Public Product List
Web scraper for Borsa Italiana Public Product List
As per title
The scraper is not working for the category "Azionario" and the subcategory "Tutte le azioni".
Stocks are divided in letters, and a crawler is needed to parse all of them
Example here: https://www.borsaitaliana.it/borsa/listino-ufficiale?service=Data&lang=it&main_list=1&sub_list=1
In this page there are useful information:
https://www.borsaitaliana.it/borsa/azioni/scheda/IT0003128367.html?lang=it
Let's also think about finding a cooler name
The json has stock names as keys, we need tickers
This is an example of response of get_stock_info()
:
"denominazione": "TRIPADVISOR",
"codice_isin": "US8969452015",
"codice_alfanumerico": "TRIP",
"prezzo_minimo": "18.98",
"quantit\u00e0_prezzo_minimo": "80.00",
"prezzo_massimo": "20.185",
"quantit\u00e0_prezzo_massimo": "100",
"prezzo_ufficiale": "19.4114",
"var._%": "+6.58",
"prezzo_riferimento": "18.98",
"prezzo_prima_apertura": "0.00",
"numero_aperture": "0",
"ora_apertura": "00000000",
"ultimo_prezzo_in_continua": "18.98",
"quantita'_totale": "1 625",
"controvalore_totale": "31 543.60",
"numero_contratti_totale": "14",
"prezzo_di_chiusura": "0.00",
"quantita'_asta_di_chiusura": "0",
"prezzo_di_controllo": "--.--",
"capitale_sociale": "--.--",
"numero_di_azioni": "126 500 138",
"valore_nominale": "--.--",
"min._quant._contrattabile": "1",
"valuta_in_cui_e_espresso_il_capitale": "DOLLARI USA",
"settore": "\u00a0",
"sottosettore": "\u00a0",
"note_listino": "\u00a0",
"numero_cedola_staccata": "\u00a0",
"data_stacco_cedola": "19/11/2019",
"importo_dividendo": "--.--"
}```
There are some fields that maybe should be cleaned up, like "quantita'_totale", "controvalore_totale" etc, that present text that can be parsed as number
Since the borsaitaliana.it pages are so different among them, might be appropriate to create a class for each type of product in order to avoid potential regressions
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.