Re: Grabbing info from a webpage
Re: Grabbing info from a webpage
- Subject: Re: Grabbing info from a webpage
- From: Barry Wainwright <email@hidden>
- Date: Tue, 26 Jul 2005 14:16:22 +0100
- Thread-topic: Grabbing info from a webpage
On 26/7/05 05:33, "Patrick Zittle" <email@hidden> wrote:
> Hey guys,
>
> I would like to grab some information from a web page. How
> can I get that information so I can present it? For example, say I
> wanted to find out what the featured download from the apple
> downloads page. How could I grab that information.
>
Get the source of the page with:
do shell script "curl http://www.apple.com/support/downloads/"
Then parse the source to get the parts you want - start by looking for the
first occurrence of "<div id=\"content\""
--
Barry
_______________________________________________
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