Python实现资源代下|实现机器值守|全自动淘宝自动发货机器人
<div style="text-align: left; margin-bottom: 10px;">
<div style="text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/pgc-image/bc4de5e763e240669d104b9f28aa8eae~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1704567915&x-signature=fHWnWG28ipZc8HIL54f6wLLPCts%3D" style="width: 100%; margin-bottom: 20px;"></div>
<h1 style="text-align: left; margin-bottom: 10px;">发货机器人</h1>
<p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;">帮你实现:淘宝虚拟商品的自动值守、自动资源下载、自动Email发货</p>
<p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;">1、运作流程</p>
<div style="text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/pgc-image/8c7d8e83728e4a9b8a8c452839f501a9~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1704567915&x-signature=zenCM6dB6n2II3XcqNdXB0rPAUQ%3D" style="width: 100%; margin-bottom: 20px;"></div>
<p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;">Trip:</p>使用小附件方式发送邮件,大于50M文件可能发送失败(QQ邮箱通病)。文件已压缩为zip,再进行发送,这样文件更小,而且可规避某些邮箱服务器不允许直接发送exe文件发送新的下载地址到买家邮箱,需要自有服务器。然后配置静态文件服务器(如nginx),直接将服务器本地文件夹映射出来(详见:Nginx作为静态文件服务器)登录QQ邮箱发送方式,使用了AutoIt配合完成附件上传,理论上附件大小不限七牛云上传附件,并将七牛云下载地址通过邮件发送给买家。强烈推荐<p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;">Q:为何使用七牛云?</p>
<p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;">A: 百度云下载限速,买家体验不高;百度文件上传API(PCS)已不再开放;七牛云只需进行简单注册认证即可得到10G的免费存储空间;</p>
<p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;">2、其他功能</p>售卖订单数(即对应CSDN下载次数)可控,到达设定数,立即下架商品,并且可开启邮件提醒自动检查退款订单,进行自动退款发货完成后,自动修改卖家订单为发货状态统计功能:统计成功、失败订单,且失败订单可开启邮件提醒<p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;">3、运行环境</p>
<p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;">python2.7</p>
<p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;"><pre style="-webkit-tap-highlight-color: transparent; box-sizing: border-box; font-family: Consolas, Menlo, Courier, monospace; font-size: 16px; white-space: pre-wrap; position: relative; line-height: 1.5; color: rgb(153, 153, 153); margin: 1em 0px; padding: 12px 10px; background: rgb(244, 245, 246); border: 1px solid rgb(232, 232, 232); font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">pip install requests</p>
<p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;"> pip install beautifulsoup4</p>
<p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;"> pip install html5lib</p>
<p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;"> pip install selenium</p>
<p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;"> pip install chardet</p>
<p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;"> pip install qiniu # 如果需要通过七牛云上传文件方式</p>
<p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;"> </pre></p>
<p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;">4、可能问题</p>在火狐57.0版本能完美运行,其他浏览器及版本自测开启钱盾后,可能导致首次进入卖家中心失败,请手动关闭钱盾匹配弹窗,或立即打开手机,进行钱盾匹配<p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;">5、使用方法</p>先将geckodriver-32.exe或geckodriver-64.exe改名为geckodriver.exe,并放于python根目录pip安装上面三方库以及火狐浏览器打开cn/localhost01/init.py,根据自己情况修改配置参数运行“启动.bat”<div style="text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/pgc-image/389d71d7471749b1bfc034f4be42a7bc~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1704567915&x-signature=n1epH0Gi5kWzLEm5qPr3FpR6p4U%3D" style="width: 100%; margin-bottom: 20px;"></div>
<p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;"><strong style="color: blue;">好啦,感兴趣的小伙伴可以自己动手去试试哦</strong></p>
<p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;">注:python学习关注我们企鹅qun: 8393 83765 各类入门学习资料免费分享哦!</p>
</div>
页:
[1]