Git Product home page Git Product logo

zsxqbackup's Introduction

ZSXQ-BackUp

知识星球备份,星球/话题/评论/图片/文件。

api version v2

Usage

  1. 安装 chromedriver

仅用于自动登录,如果你愿意自己抓包,则不需要安装

  • brew install chromedriver
  • 或前往官网/镜像下载
    • 将包含可执行文件的目录添加至环境变量
    • 或设置settings.py/CHROME_DRIVER_PATH为完整执行路径
  1. 安装 ZSXQ-BackUp
git clone [email protected]:lxzmads/zsxqbackup.git
cd zsxqbackup
mv zsxq/settings.exammple.py zsxq/settings.py
pyenv shell python3.6.9
pip install -r requirements.txt
  1. 运行
  • scrapy crawl backup
  • 手动指定tokenUser-Agent
    • 浏览器端登录后抓包获取cookies中的zsxq_access_tokenUser-Agent字段
    • zsxq/settings.py末尾将其设置为ZSXQ_ACCESS_TOKENZSXQ_USER_AGENT

Reference

zsxqbackup's People

Contributors

lxzmads avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

zsxqbackup's Issues

请问如何设置文件类型和设置时间区间?

非常感谢提供如此好用的工具,有一个问题,文件批量下载默认好像会重复覆盖,请问如何设置从指定时间开始下载呀?以及如何设置只下载指定类型的文件或者不下载指定类型的文件呀

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.