[Gambas-user] screen scraping web page
KKing
kicking177 at gmail.com
Thu Oct 20 16:12:47 CEST 2022
Hi,
I want to grab the exchange rate and time off a web page, any
suggestions on how others would go about or advice on why my approach
now seems flawed.
I was just using e.g.
Shell "curl 'https://uk.finance.yahoo.com/quote/GBPEUR=X'" To strResponse
on a timer.
Then searching strResponse for nodes of interest, this seemed to work
mostly okay.
But recently it starts okay, but then after while the content of
strResponse seems off, as in time of day and rate is nothing like what
it should be, and stays like that for each subsequent curl. If I kill
the program and leave for a while it will again start okay and be fine
for a while but then suddenly give these off results. I know it is not
the website as such (in general) as browser on a seperate computer is
showing the site via normal browser and all okay.
K.
More information about the User
mailing list