Amazing-Python-Scripts

Форк
0

..
/
Attachment_Downloader 
4 года назад
README.md

Attachment Downloader

The script downloads gmail atttachment(s) in no time!

Setup Instructions

The script uses ezgmail module (to know more visit https://pypi.org/project/EZGmail/). To install please type the following command in your bash.

pip install EZGmail

Once the module is installed you will need to download credentials.json file by going to developers.google.com and clicking the Enable the Gmail API button (select "Desktop app" as OAuth Client in second step).

Once you have credentials.json (in root directory of project folder), the first time you run the script it will open up a browser window asking you to log in to your Gmail account and allow "Quickstart" app to access it. A token.json file will be generated (in root directory of project folder) which your script can use to access your account.

Outputs

Output 1

image

Output 2

image

Output 3

image

Output 4

image

Author

Contributed by Kirtan Bhatt

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.