Re: grep 2.7 & linked-images
Re: grep 2.7 & linked-images
- Subject: Re: grep 2.7 & linked-images
- From: Skeeve <email@hidden>
- Date: Mon, 03 Jan 2011 11:22:21 +0100
As I always say: Go for perl ;)
# Grab linked-images
set cmdStr to "curl -L --user-agent
'Opera/9.70 (Linux ppc64 ; U; en) Presto/2.2.1' " & yourURL & " | /usr/bin/perl -ne 'print qq($1\\n) if
/(<a\\s+href\\b[^>]+\\.jpg[^>]*>)/i'"
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden