Giter Club home page Giter Club logo

discuz's Introduction

注意:如果有机器人钓鱼贴,可能会回复,并且被封号。如何过滤你们自己想吧。

discuz

全自动登录discuz论坛,签到,回帖刷币

环境

centos + python3.9

运行方式

  • 克隆仓库
  • discuz.py文件内修改论坛地址、账号、密码等信息
   hostname = ''   #论坛地址
   username = ''   #账号
   password = ''   #密码
  • 安装依赖,可以先直接运行 python3 discuz.py,缺哪个库装那个,直到日志(info.log)中显示登录成功的信息
  • crontab添加定时任务,每过6分钟执行一次回帖示例 */6 * * * * cd /root/discuz_bot/ && python3 discuz.py 目录改成自己的

示例

说明

  • 自动识别验证码登录
  • 先尝试无验证码登录一次,失败后尝试自动识别验证码登录
  • 这只是针对某一个论坛写的代码,不一定对所有论坛都有效,但discuz论坛都类似,出错小改后基本就可以用了。

discuz's People

Contributors

798love avatar

Stargazers

0x0208 Version 0 avatar 金子发光 avatar yzqzss avatar  avatar  avatar  avatar Tony avatar  avatar Jie Zeng avatar bbbblkhg avatar  avatar  avatar  avatar Ryan avatar  avatar Jinyu Zhu avatar 李强强 avatar Icarus avatar  avatar

Watchers

 avatar

discuz's Issues

请问登录成功了,但是不能回帖是啥原因?

Traceback (most recent call last):
File "c:/Users/Administrator/Desktop/discuz-main/discuz-main/discuz.py", line 111, in
discuz.reply(discuz.get_reply_tid())
File "c:/Users/Administrator/Desktop/discuz-main/discuz-main/discuz.py", line 65, in get_reply_tid
tids = self.get_reply_tid_list()
File "c:/Users/Administrator/Desktop/discuz-main/discuz-main/discuz.py", line 56, in get_reply_tid_list
for a in reply.find_all("a"):
AttributeError: 'NoneType' object has no attribute 'find_all',提示这个

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.