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 03:18:30 -0500
On May 13, 2016, at 13:33, Enrique Terrazas <email@hidden> wrote:
> This URL: … shows how to download all img tags from a webpage using wget and xmllint. It can probably be modified to download other types of files.
______________________________________________________________________
Hey Enrique,
Since Jim Hall's bash script relies on Xpath it can certainly be modified. I have a long way to go to master Xpath, but I can tell you it is very flexible and precise.
Jim's script also requires wget, which is NOT installed on OSX. (Easily rectified with Macports or Homebrew.)
Another useful tool is lynx – a text-only browser for the Terminal.
lynx -dump http://members.aceweb.com/randsautos/photogallery/ferrari/enzo/
lynx -dump -listonly http://members.aceweb.com/randsautos/photogallery/ferrari/enzo/
lynx -dump -listonly -image_links http://members.aceweb.com/randsautos/photogallery/ferrari/enzo/
lynx -source http://members.aceweb.com/randsautos/photogallery/ferrari/enzo/
lynx -source -preparsed http://members.aceweb.com/randsautos/photogallery/ferrari/enzo/
--
Best Regards,
Chris
_______________________________________________
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