Giter Club home page Giter Club logo

zhihu_robot's Introduction

知乎机器人

更新日志

2019/Jan/01

优化参数输入,同步更新exe

使用

使用方法

  • 首先无论是什么操作系统,都需要拥有一个包含登陆状态知乎网站的Cookies的json文件来帮助程序正常登录知乎账号
    • 建议方法:Chrome的扩展程序:EditThisCookie可以直接导出Cookies,粘贴至一个新建json文件即可
  • Windows环境下直接下载exe文件,双击运行,按照提示步骤进行即可
  • Linux/OS环境下下载py源码文件,用命令行运行

使用注意

  • 需要安装Chrome
  • 需要安装对应版本的chromedriver(exe文件不需要)
  • 需要知道自己的知乎个人域名,可从知乎设置页面的个性域名中获取与编辑。

开发

开发目的

致力于自动化处理知乎的各种操作

开发契机

受启发于知乎在2019年底发起的#红包派对活动#,自动发布了一大堆想法,于是乎就写了这个自动化脚本,欲自动删除相关想法

开发原则

代码完全开源,欢迎fork

目前存在的不足

  • 采用Selenium实现自动化,需要安装对应版本的chromedriver
  • 为了躲避验证码,采用了读取Cookie文件的机制,这为完全不懂互联网的小白增加了操作难度
  • 参数输入依靠input而非sys模块或argparse模块等更具优势的方式
  • 仅支持Chrome浏览器

未来努力的方向

  • 弥补不足
  • 增加除自动删除想法外的新功能

( ᖛ ̫ ᖛ )ʃ Best wishes for 2020

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.