I haven’t actually used it myself, but you could try WebDriver
I’d recommend using http protocol directly if possible.
Open up developer tools in chrome/edge and take a look in the network area as you navigate the website and see if you can find something interesting.
Your idea seems good as well.
To get the last friday of the month you could use code similar to this (copied from chat-gpt):
Imports System
Module Program
Sub Main(args As String())
’ Set the year and month
Dim year As Integer = 2024
Dim month As Integer = 2' Find the last day of the month Dim lastDayOfMonth As Date = New Date(year, month, 1).AddMonths(1).AddDays(-1) ' Find the last Friday by going back from the last day of the month Dim lastFriday As Date = lastDayOfMonth While lastFriday.DayOfWeek <> DayOfWeek.Friday lastFriday = lastFriday.AddDays(-1) End While ' Print the last Friday Console.WriteLine("The last Friday in {0}/{1} is: {2}", month, year, lastFriday.ToShortDateString()) End Sub
End Module