--no-parent // Don´t download something from the parent directory
But a lot of time I had to escape the characters in the link manually to make wgetwork.
Names with a lot of special character are just pain in the mind, it makes it hard to wget from terminal.
So, I used a chrome extension Link Klipper - Extract all links, it extracts all the links from the page and exports it into a txt file. So I don’t need to click and copy the links of each and every file in the directory.
I started using aria2 in my Raspberry Pi and Fatrat download manager on my Ubuntu. So, it was easy for me to feed the list of URLs to these download managers.
Let me know if you have any easy alternative to this.