Re: AppleScript and Safari
Re: AppleScript and Safari
- Subject: Re: AppleScript and Safari
- From: Paul Berkowitz <email@hidden>
- Date: Tue, 09 Nov 2004 08:53:56 -0800
On 11/9/04 8:47 AM, "Doug McNutt" <email@hidden> wrote:
> 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.
To me, it sounded as if the URL were a direct-download address that would
simply download some files to his Downloads location.
--
Paul Berkowitz
_______________________________________________
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