TheXYZLab

WeSYNC

2017-09-29  本文已影响5人  William_An

2017/09/28


Wesync

A simple python project that automatically synchronizes wechat files to Google Drive/Any Cloud Drive save PanBaidu
一个神奇的Python项目, 同步你的微信文件

原理

配置

Integromat

自动化配置

  1. https://www.integromat.com/ 注册
  2. 新建Scenario
    • Webhooks: Custom Webhook
      • Add webhook
        • Add Data Structure
          • Add item
            • data
              • Name: data
              • Type: text
            • filename
              • Name: filename
              • Type: text
      • Copy webhook url
    • Google Drive
      • Choose a folder
      • File name: filename
      • Data: toBinary(data; base64)
      • Error Handler (right click this module)
        • Webhook Response
          • Status: 400
        • Ignore
    • Webhooks: Webhook Response
      • Status: 200
      • Body: Share Link

Windows

git clone https://github.com/William-An/wesync
wesync/Scripts/activate
# 预先将webhook的URL在sync.py中赋值为integromat
python sync.py
# enableCmdQR一定要为True

更多信息详见itchat文档

Linux

TO BE Continue

注意事项

上一篇 下一篇

猜你喜欢

热点阅读