Making a linux script that retreives .PDF extension files from a website

This is a lil off topic but will be suitable for linux forum with a mix of programming. I want to make a script that automatically extracts and finds me all the pdf present in a given website and download it in a user defined directory. Here i do not want to use wget and curl command as it is time taking and will be a hectic work when downloading a large ammount of file from a website. Maybe the script could automatically also. I am new to programming so can anyone help me?