• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Downloading a file from the internet with a URL
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: Downloading a file from the internet with a URL (From: Steve Mills <email@hidden>)
 >Re: Downloading a file from the internet with a URL (From: "email@hidden" <email@hidden>)
 >Re: Downloading a file from the internet with a URL (From: Yvan KOENIG <email@hidden>)
 >Re: Downloading a file from the internet with a URL (From: "Stockly, Ed" <email@hidden>)
 >Re: Downloading a file from the internet with a URL (From: "Stockly, Ed" <email@hidden>)
 >Re: Downloading a file from the internet with a URL (From: Rick Gordon <email@hidden>)
 >Re: Downloading a file from the internet with a URL (From: "Stockly, Ed" <email@hidden>)
 >Re: Downloading a file from the internet with a URL (From: Deivy Petrescu <email@hidden>)
 >Re: Downloading a file from the internet with a URL (From: "Stockly, Ed" <email@hidden>)
 >Re: Downloading a file from the internet with a URL (From: Deivy Petrescu <email@hidden>)
 >Re: Downloading a file from the internet with a URL (From: "Stockly, Ed" <email@hidden>)
 >Re: Downloading a file from the internet with a URL (From: Emmanuel LEVY <email@hidden>)
 >Re: Downloading a file from the internet with a URL (From: Enrique Terrazas <email@hidden>)

  • Prev by Date: Re: Downloading a file from the internet with a URL
  • Next by Date: Re: Downloading a file from the internet with a URL
  • Previous by thread: Re: Downloading a file from the internet with a URL
  • Next by thread: Re: Downloading a file from the internet with a URL
  • Index(es):
    • Date
    • Thread