Automator - problem downloading PDFs from URLs
I am trying to use Automator to download PDFs from a simple webpage that consists solely of direct links to said PDFs. I was able to accomplish this for a different website without any issue using the following workflow:
“Get Specified Finder Items” to feed in a txt document with the URLs (all of which end in .pdf)
“Combine Text Files”
“Extract URLs from Text”
“Download URLs”
For the present website, however, the output is just each of those links as an html file, not the PDFs themselves.
If I replace the “Download URLs” command with “Display Webpages,” all of the PDFs open properly in my browser and they can be downloaded one by one. So it’s as if the “Download URLs” command is adding the .html endings for this particularly website, and that's not jiving.
How can I fix this? Thank you.