Re: Downloading a file from the internet with a URL
Re: Downloading a file from the internet with a URL
- Subject: Re: Downloading a file from the internet with a URL
- From: Christopher Stone <email@hidden>
- Date: Sat, 14 May 2016 07:12:00 -0500
On May 14, 2016, at 01:56, Christopher Stone <email@hidden> wrote:
Hell. I didn't know readtext could read remote files...
______________________________________________________________________
Hey Folks,
Yep, that works nicely. :)
------------------------------------------------------------------------------------------- set webSrc to readtext targetURL
try set urlList to find text "a href="" src=""> in webSrc with regexp, all occurrences and string result without case sensitive on error set urlList to false end try -------------------------------------------------------------------------------------------
Now I'll have to see how hard it is to parse with the XMLLib.osax.
Emmanuel – if you have some examples of usage they would be much appreciated.
|
_______________________________________________
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