Stock Price Tracker
Stock Price:
document.querySelector(‘form’).addEventListener(‘submit’, async (e) => {
e.preventDefault();
const symbol = document.getElementById(‘stock_symbol’).value;
const response = await fetch(‘/stock_price’, {
method: ‘POST’,
headers: {
‘Content-Type’: ‘application/json’,
},
body: JSON.stringify({symbol}),
});
const data = await response.json();
document.getElementById(‘stock_price’).innerText = data.price;
});
how about Instagram web parsing features? I don't find a python package, any idea?