What i want is to do everyday web scrapping, takes some data from any sites and accumulate that data into a cell for example into array. However the problem is the cell have run button, so if i click it accidentally, all data accumulated on that cell will be wiped out and the array will be empty back.
Can anyone help me how to preparring cell or variable with initial value that will never reseting its value at anytime.
Observable is not the right tool for this. Youâll have to use an external service or setup your own server process to accumulate the data, e.g. via glitch.com.
You can then use an external cron service to regularly âawakenâ your glitch instance and have it fetch the data.
Will persisting data to local storage help you? This notebook shows how we can add data to local storage for a cell. Note: You have to sync the localstorage and cell value though.