vendredi 3 mars 2017

How to download .pdf files with Wget that have a question mark (?) after the extention?

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

The files URL have this format:

"http://ift.tt/2mAjrTW"

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.




Aucun commentaire:

Enregistrer un commentaire