Giter Club home page Giter Club logo

tiebasign's Introduction

TiebaSign

贴吧签到,模拟手机端进行百度贴吧批量签到的python3脚本。 2017

更新

2017.7.31

更新文档

2017.5.27

修复master分支的BUG

2017.4.9

优化代码

2017.2.11

全面使用Wap版贴吧,提高稳定性

2017.1.27

使用Wap版贴吧,提高速度且不需要验证码。

2017.1.26

注销百度账号时可能会销毁BDUSS

解决方案:不注销账号,直接删除浏览器的Cookie。

2017.1.25

发布 TiebaSign

环境要求

  1. python3
  2. requests Lib

使用说明

1.在服务端登陆你的百度账号(推荐用chrome+EditThisCookie插件)

2.打开网页 https://tieba.baidu.com/index.html

导出tieba.baidu.com的Cookies保存为user.json。

格式如下:有效参数name, value

  [
  {
    "**": "***",
    "name": "BAIDUID",
    "value": "8075270406317538E68D2*****:FG=1",
  },

  {
    "**": "***",
    "name": "BDUSS",
    "value": "XVSUlM2N29oWn***Q",
  },
  .......
 ]

3.把user.json放入Tieba文件夹

4.运行main.py 环境变量 export PYTHONIOENCODING="utf-8"

部署

jzc@ubuntu:~$ wget https://github.com/jiangzc/TiebaSign/archive/master.zip
jzc@ubuntu:~$ unzip master.zip
jzc@ubuntu:~$ mv TiebaSign-master/ TiebaSign/
jzc@ubuntu:~$ cd TiebaSign/
# add user's json file
jzc@ubuntu:~/TiebaSign$ export PYTHONIOENCODING="utf-8"
jzc@ubuntu:~/TiebaSign$ python3 main.py

输出样本

Local Time: Sat May 27 18:30:44 2017
Login: 末日V4
['vb2010', 'oblivious', '尤里的复仇', '红警3', 'python3']
末日V4 Signing
Already signed in vb2010
Already signed in oblivious
Already signed in 尤里的复仇
Already signed in 红警3

tiebasign's People

Contributors

jiangzc avatar

Watchers

James Cloos 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.