Re: AppleScript and Safari
Re: AppleScript and Safari
- Subject: Re: AppleScript and Safari
- From: Doug McNutt <email@hidden>
- Date: Tue, 9 Nov 2004 09:47:25 -0700
At 07:08 -0800 11/9/04, Paul Berkowitz wrote:
>
>So what would be the advantages of curl over 'open location' that Emmanuel
>mentioned?
I think it depends on what you want to do with the data. Safari is fine for viewing the URL with human eyeballs and it will follow and load links that are included as anchors in the URL resulting in a pretty picture on the screen.
curl, on the other hand will simply download the URL to a place you specify and let you script extraction and use of the data as you like. it does not follow and display the linked anchors (and ads).
The original poster did not elaborate on his intentions but it sounds as though a cron job using curl, and perhaps a bit of perl, could keep the data he needs up to date on his local disk.
--
Applescript syntax is like English spelling:
Roughly, but not thoroughly, thought through.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden