Fetching webpages and history

Has anybody done anything like this before?

Fetch webpage using curl? and get all links in webpage between (some html code here) and (/some html code here) and open all links in Safari if link is not in this scripts history file. So script keeps history-file of visited urls.

Hi cirno,

Here’s a good article on scripting Safari for links on pages: