I am looking for a way to scrape data from here to a list. The data I want to extract is in
rangeSelector -> series -> data
It is a collection of the price of a specific item at a certain time. I need to get rid of all the javascript code except for the data. I will then try to use this data for plotting and calculations.
I am new to web-scraping and I am looking for a simple one-time solution. What would be the best way to approach this problem?
document.addEventListener('DOMContentLoaded', function () {
var myChart = Highcharts.stockChart('stocks-container', {
rangeSelector: {
selected: 1
},
yAxis: [{
labels: {
align: 'left'
},
height: '80%',
resize: {
enabled: true
}
}, {
labels: {
align: 'left'
},
top: '80%',
height: '20%',
offset: 0
}],
plotOptions: {
column: {
stacking: 'normal'
}
},
series: [
{
name: 'Unit Price (Buy)',
data: JSON.parse("[[1585902517017,187893.6],[1585906117013,193975.7],[1585909717026,189253.9],[1585913317001,195890.9],[1585916917027,197659.8],[1585920516999,201482.1],[1585924117021,198212.5],[1585927716997,208305.0],[1585929517008,207305.0],[1585933117021,193561.7],[1585936716979,199070.6],[1585938517019,195450.9],[1585942117009,195527.4],[1585945717007,195877.6],