Retreive an item from localStorage of a webpage

1 次查看(过去 30 天)
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.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 String Parsing 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by