r/Scriptable • • Oct 15 '21
Solved Make widget table from data scraped from website
On this website, there’s a table that I want to extract the data from and display in a table in a widget.
I first was trying using regex to extract the data (by getting the html from rich text then matching) for different rows and put the data into shortcuts, but turns out I can’t even do that properly :( Anyway, I figured it’d be better to do everything in Scriptable as I want to make the widget in it, taking inspo from other scripts I see here. I wanted to try it myself but turns out my knowledge really aint enough.
Could someone kind of walk me through what steps I’d need to take to get the data (if there is a way to use a library with a-Shell or something instead ?) and then how I would go about putting that data into a table. I’d rather not ask someone to make it outright for me because I understand it can take a lot of time and effort.
Thanks in advance.
TLDR: need help to understand how to scrape data from a table on a website then add it to a script to make a widget. Thanks
