MATLAB Answers

Retreive an item from localStorage of a webpage

2 views (last 30 days)
Jake Eichenlaub
Jake Eichenlaub on 23 Nov 2019
Edited: Jake Eichenlaub on 23 Nov 2019
I'm trying to scrape the data that is stored in the localStorage of a webpage programmatically.
I can get this data in the format I want by going into the console of the webpage, and typing in "localStorage.getItem('THE ITEM NAME'), but I want to do this programmatically every period of time. Is there a way to do this from inside matlab without abusing the copy/paste system?
NOTE: I CANNOT simply scrape this using webread and parsing the HTML, as this will return only the default values on the webpage, not the constantly updating values.


Sign in to comment.

Answers (0)

Sign in to answer this question.