Giter VIP home page Giter VIP logo

harbor's Introduction

Harbor

微博个人账户备份,可以保存这些内容:

  • 文本
  • 赞、转发、评论
  • 日期、来自
  • 图片、视频

简单使用

直接运行 scripts 文件夹下的脚本。

Powershell:

$env:WEIBO_USERNAME = [USERNAME]; $env:PASSWORD = [PASSWORD]; python3 weibo_bot.py

Bash:

WEIBO_USERNAME='[USERNAME]' WEIBO_PASSWORD='[PASSWORD]' python3 weibo_bot.py

进阶使用

通过 pip 安装:pip install weibo-harbor

依赖

安装

使用 python setup-tools 安装和运行.

$ python3 -m venv env
$ python3 -m pip install -r requirements.txt
$ python3 setup.py install
$ env/bin/harbor

运行

Powershell:

$env:WEIBO_USERNAME = [USERNAME]; $env:WEIBO_PASSWORD = [PASSWORD]; harbor

Bash:

WEIBO_USERNAME='[USERNAME]' WEIBO_PASSWORD='[PASSWORD]' harbor

开发

python3 -m venv env
. env/bin/activate
pip install -e .

测试

python3 setup.py nosetests

更新了 setup.py 中的依赖后,请运行 pip-compile 来刷新 requirements.txt 文件.

欢迎贡献代码

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

harbor's People

Contributors

cmsax avatar

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.