How to automatically download PDF files from a website that requires a login

Any Script to automatically download PDF files from a website every month that requires a login