Re: script browsing
Re: script browsing
- Subject: Re: script browsing
- From: Tom Robinson <email@hidden>
- Date: Mon, 05 Jan 2004 20:11:24 +1300
>
i wonder if applescript has a solution for this,
>
>
i have to check and download documents and files from web objects
>
generated websites. can an applescript do the job for me? for example,
>
it downloads the page, searches thru the content, if finds a link href
>
and so on, it goes there, and so on.
If you're under OS X you might want to consider installing and calling wget, which will do all the work for you. It's available from Fink, and the man page reads:
GNU Wget is a free utility for non-interactive download of files from the Web. It supports HTTP, HTTPS, and FTP protocols, as well as retrieval through HTTP proxies.
Wget is non-interactive, meaning that it can work in the background, while the user is not logged on. This allows you to start a retrieval and disconnect from the system, letting Wget finish the work. By con- trast, most of the Web browsers require constant user's presence, which can be a great hindrance when transferring a lot of data.
Wget can follow links in HTML pages and create local versions of remote web sites, fully recreating the directory structure of the original site. This is sometimes referred to as ``recursive downloading.'' While doing that, Wget respects the Robot Exclusion Standard (/robots.txt). Wget can be instructed to convert the links in down- loaded HTML files to the local files for offline viewing.
Cheers
--
Intelligence is like a four-wheel drive vehicle: it allows you to get stuck in much more remote places
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.