iamleot / transferwee

Download/upload files via wetransfer.com
155 stars 38 forks source link

Support downloading password-protected transfers #80

Open antonalekseev opened 4 months ago

antonalekseev commented 4 months ago

This PR adds support for downloading password-protected transfers. If -p is in use, the WETRANSFER_PASSWORD environment variable is checked for the password and if it hasn't been found there the user is prompted. The tests are passing with this new code. Unfortunately, I don't have a paid subscription, so was unable to upload a password-protected test file and add the relevant test case.