1

I tried use wget typing this command

wget -P  -e robots=off -A.pdf -r -l1 http://concours-maths-cpge.fr/

but I didn't succeed. I don't know the reason but perhaps because we need to click buttons to download files directly from the site. So what I can do?

closed as unclear what you're asking by dr01, G-Man, janos, GAD3R, Kusalananda Jan 7 '17 at 10:43

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

2

From the wget manual at GNU (https://www.gnu.org/software/wget/manual/html_node/Recursive-Accept_002fReject-Options.html):

Specify comma-separated lists of file name suffixes or patterns to accept or reject (see Types of Files). Note that if any of the wildcard characters, ‘’, ‘?’, ‘[’ or ‘]’, appear in an element of acclist or rejlist, it will be treated as a pattern, rather than a suffix. In this case, you have to enclose the pattern into quotes to prevent your shell from expanding it, like in ‘-A ".mp3"’ or ‘-A '*.mp3'’.

So you may try:

wget -P  -e robots=off -A pdf -r -l1 http://concours-maths-cpge.fr/

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