iamleot / transferwee

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

Update transferwee.py. Fixes #40 #41

Closed peterk closed 1 year ago

peterk commented 1 year ago

Depending on the origin the parsed csrf token may not be needed. This fix updates the session only if there was a csrf token meta element in the html.

iamleot commented 1 year ago

I've mostly taken the patch as-is (only adjusted a bit the logic to always print out debug log events) and addressed that via #42.

Thank you for analyzing this issue and fixing it!