[REBOL] reading https web page
From: wdurden::sapphirebay::com at: 1-Feb-2003 11:40
Hello all! I have combed the libraries but couldn't find an example such that I could
read an HTTPS url.
Can this be done with rebol core? I have no difficulty grabbing a standard URL but I
apparently do not know enough about the underlying standards to intelligently piece together
the process for an HTTPS page with username and password.
Thank you for your assistance. Additionally, in case it may be of benefit to anyone,
I am including a script below that grabs a realtime quote for symbols in a list every
two minutes and appends it to a text data file. It recovers from a network error by
Title: "Downloads REAL TIME QUOTES"
Purpose: "Fetch REAL TIME QUOTE"
a correct url that gets MSFT data is:
if error? try [
if ((now/time > 09:30:00) and (now/time < 16:01:00))[
foreach word symbols[
print join "Getting data for " word
page: read join firstpart word
parse page [thru <NOBR> copy mydata to </NOBR>]
print join now/time [" " mydata]
write/append join theFile [word "2.txt"] join now/time [" " mydata "^/"]