Benches macOS

1

Using automator to download list of URLs

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

I have a list of URLs that I want to use automator to download. The URLs link to PDF files on a website.

I am using the following workflow:

"Get Specified Text (putting the list of URLs in here)" -> "Filter paragraphs (filtering out paragraphs beginning
http://)" -> "Download URLs".

The URLs are getting passed and filtered correctly but the files that are downloaded are generic html files (no specific name, just a number) and not the PDFs. I can paste each URL into the browser individually and it will download the PDF so I know the URLs are correct. How do I get it to download the PDFs instead of these html files?

Message was edited by: bercg

1 reply

Sign in or join Beachball Help to reply.

  1. 0

    red_menace

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Is there something else on the web page, such as javascript or formatting around the PDF? You might try getting the links directly with something like:

    1) *Get Specified URLs*

    2) *Get Link URLs from Webpages*

    3) *Filter URLs* -- filter for just the PDF file links

    4) *Download URLs*