• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: AppleScript and Safari
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: AppleScript and Safari
      • From: Bill Briggs <email@hidden>
    • Re: AppleScript and Safari
      • From: Paul Berkowitz <email@hidden>
References: 
 >Re: AppleScript and Safari (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: Re: HTML and Applescript?
  • Next by Date: Re: Bridge anyone? [not off topic]
  • Previous by thread: Re: AppleScript and Safari
  • Next by thread: Re: AppleScript and Safari
  • Index(es):
    • Date
    • Thread