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/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?



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
  • As an alternative, you can get it for Windows without WSL and without Cygwin: gnuwin32.sourceforge.net/packages/wget.htm It still works even in modern Windows versions, but of course it does not support as many features as recent versions, and it hasn't got security updates since about 13 years, so I would use it only with trustworthy sites. However, it might be a quick-and-dirty solution in some cases.
    – Binarus
    Apr 18 '21 at 9:08

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. 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.