Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joemcmahon/wetransfer-slurp
Fetches WeTransfer emails from an IMAP server and downloads the linked files
https://github.com/joemcmahon/wetransfer-slurp
Last synced: 11 days ago
JSON representation
Fetches WeTransfer emails from an IMAP server and downloads the linked files
- Host: GitHub
- URL: https://github.com/joemcmahon/wetransfer-slurp
- Owner: joemcmahon
- License: mit
- Created: 2017-05-17T03:49:41.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-05-17T04:21:38.000Z (over 7 years ago)
- Last Synced: 2024-10-28T15:48:12.286Z (about 2 months ago)
- Language: Python
- Size: 4.88 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# wetransfer-slurp
Downloads WeTransfer mails from a GMail account, extracts WeTransfer links, and downloads them.
This script is set up to be configured via environment variables:
- USERNAME
- PASSWORDIt writes to `/tmp`.
## "GMail isn't letting me log in!"
This is because GMail doesn't want you to give your password to third parties to access
it on your behalf. There are two options to fix this:
- Turn on "allow less secure apps". This is not saying that the app is full of security
holes, but that it's an app that has your credentials, and giving your credentials to
a third party app might allow them to be compromised.
- The better solution: turn on two-factor authentication for the account, and then set
an application-specific password for wetransfer-slurp to use. This password is meant
only to be used by wetransfer-slurp, and can be revoked by you at any time, making it
safer (if you think wetransfer-slurp has compromised the password, you can simply
imvalidate that password without locking yourself out completely).## Running with Docker
It is strongly suggested you build a Docker image using the supplied Dockerfile, and run
the script like this:```bash
docker build -t wetransfer-slurp:latest .docker run --rm \
-e USERNAME='[email protected]' \
-e PASSWORD='imapmailpassword` \
-v /your/desired/location:/tmp \
wetransfer-slurp:latest
```