简体   繁体   English

如何通过使用 python 脚本单击 email 中的链接来下载文件

[英]How to download the file by clicking the link in email by using the python script

I want to click on the link from email and download the file in my laptop by using python script.我想单击 email 中的链接并使用 python 脚本将文件下载到我的笔记本电脑中。 Any one has any idea about this?有人对此有任何想法吗?

I could see most of the information's which i am seeing in the internet is download the file in linux itself.我可以看到我在互联网上看到的大部分信息是下载 linux 本身的文件。

The Instruction to do that:这样做的说明:

Writing a code to do the following:编写代码以执行以下操作:

  1. login to your email.登录到您的 email。
  2. parse your inbox and locate the specific email.解析您的收件箱并找到特定的 email。
  3. parse the html source and locate the url for the download link.解析 html 源并找到 url 的下载链接。
  4. download it by connecting directly to it.通过直接连接下载它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 通过使用Python单击下载按钮来下载文件 - Download a file by clicking on download button using Python 如何使用Python在电子邮件中嵌入文件链接 - How to embed a file link in email using Python 单击超链接下载 excel 文件(Selenium Via Python) - Clicking on a hyper link to download excel file (Selenium Via Python) 如何从我的Shell / Python脚本访问GMail(IMAP电子邮件)下载附加到电子邮件的zip文件并进行处理? - How to access GMail (IMAP Email) from my Shell/Python script to download a zip file attached to an email and process it? 如何使用 python 脚本从 assembla 下载带有密钥和秘密的文件 - How to download a file from assembla with a key and a secret using a python script 单击 href 在 python 中下载文件 - Download file in python on clicking on href 链接中的Python下载文件 - Python download file in link 使用Selenium,Firefox,Python在自动点击下载链接后保存EPS文件下载到磁盘 - using Selenium, Firefox, Python to save download of EPS files to disk after automated clicking of download link python中的脚本下载电子邮件附件 - Script in python to download email attachments 如何使用python脚本在电子邮件正文中调用文本文件数据 - how to call a text file data in email body by using python script
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM