Log into a website with user&pass and then return a file link from that page

Hi there,
I need a shortcut which can use my user/pass to a website to sign in. then find the specific download link of a file and return it. can you guide me how to achieve this? thanks in advance!

It is a bit hard for anyone to recommend something when the request is so vague as to what exactly needs to be accomplished.

It may not be possible for your needs, but there may be a way with key chain to support this.




Or with a separate oauth proxy.