0

I would like to download all the files of a given type (such as pdf) linked from a web page.

I used to use DownThemAll in Firefox, but the addon is "Not compatible with Firefox Quantum".

I have tried https://addons.mozilla.org/en-US/firefox/addon/download-star/, but I don't find out how I can use the addon to specify to download all pdf files linked in the webpage. Do I miss something?

What addons or other tools can do the task?

Thanks.

2

Does it have to be an extension? I would think wget would be more suited to the task.

wget (on Bash):

wget --recursive --level=1 --accept pdf --no-directories https://www.example.com/pagewithpdfs.htm

(courtesty of https://stackoverflow.com/a/23775416/4463400)

This downloads all of the PDFs directly linked on https://www.example.com/pagewithpdfs.htm and puts them in the current folder.

wget is installed by default on most Linux distros.

wget (on Windows):

If you're using Microsoft Windows 10, you can still use wget by getting the Windows Subsystem for Linux (wsl.exe) from the Microsoft Store.

wsl.exe wget --recursive --level=1 --accept pdf --no-directories https://www.example.com/pagewithpdfs.htm
  • For windows you can also install cygwin and add the bin directory of cygwin to your path. – albert Oct 2 '18 at 16:07
0

Use downthemall, it allows you to filter a page by any file extension and download all files at once.

  • Thanks. My post mentioned the addon is "Not compatible with Firefox Quantum". addons.mozilla.org/en-US/firefox/addon/downthemall – Tim Oct 8 '18 at 16:34
  • @Tim: Sorry about that. Yeah, that's bad news to me. Downthemall was so good at what you're talking about. You could install an older version of Firefox into a virtual machine (with Downthemall on top) just for this purpose, until we can find a better alternative. Just a thought. – Lonnie Best Oct 10 '18 at 5:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.