Hey all. Using the stream command to load data from a webpage, Blitz Example:
That displays all the HTML code, which is neat, but is there any way to load an image that you know will always be there:
Example: (didnt want the real link, its a big picture!)
(add the http)://goes.gsfc.nasa.gov/goeswest/pacific/color/0000_latest.jpg
That will theoretically always be there, waiting for you to grab it. I thought it would be kind of cool to grab snapshots of satellite images every few hours, make an animation, save for posterity, etc. Any pointers would be appreciated!
in = ReadStream("http::blitzbasic.com") If Not in RuntimeError "Failed to open stream" While Not Eof(in) Print ReadLine(in) Wend CloseStream in
That displays all the HTML code, which is neat, but is there any way to load an image that you know will always be there:
Example: (didnt want the real link, its a big picture!)
(add the http)://goes.gsfc.nasa.gov/goeswest/pacific/color/0000_latest.jpg
That will theoretically always be there, waiting for you to grab it. I thought it would be kind of cool to grab snapshots of satellite images every few hours, make an animation, save for posterity, etc. Any pointers would be appreciated!