0

I'm trying to dowload recursively all .pdf files from a webpage.

The files URL have this format:

"http://example.com/fileexample.pdf?id=****"

I'm using these parameters:

wget -r -l1 -A.pdf http://example.com

wget is rejecting all the files when saving. Getting this error when using --debug:

Removing file due to recursive rejection criteria in recursive_retrieve()

I think that's happening because of this "?id=****" after the extension.

JotaB
  • 99
  • 1
  • 8

1 Answers1

1

But did you try -A "*.pdf*" ? Regarding the wget docs, this should work out.

rockdaboot
  • 706
  • 6
  • 9