Yep. Nice spot. No error handling. Now done. Won’t be bulletproof, but it’s better as the format of the URL parameter is validated a little bit…
I’ll do something about flexibility. It probably won’t be “today” , “nextweek” etc as all this data is easily available via my API. This was a quick hack to see what dividends are paying out on T212 stocks within a certain (small) window … if people want to map it against their own personal portfolio then they can just sign up and get a free APIkey.
Thanks again for the error spotting… there will certainly be a few of them… it was hacked together pretty quickly and whilst hungover!
It is when you look at the source of the page itself. Maybe some browsers will not like it, that is why i mention it. Brave, Chrome and Edge are displaying it without any problems.