Giter Site home page Giter Site logo

tieba's Introduction

百度贴吧签到库

提供一个基于cookie验证的百度贴吧签到方案

安装

使用composer安装

composer.json里的require增加

"friparia/tieba": "dev-master"

然后执行

composer update

使用github

直接使用

git clone [email protected]:friparia/tieba.git

然后编辑并执行demo.php

签到

BDUSS是你的百度登陆后的cookie中的BDUSS的值

$BDUSS = "你的BDUSS";
$kw = "要签到的吧名";
$tieba = new CTieba($BDUSS);
//提供单个贴吧签到,参数$kw为贴吧名
$tieba->sign($kw);
//提供所有自己喜欢的贴吧签到
$tieba->multisign();

自动签到

将多人的BDUSS存到storing.json里面,并将cron.php写入你的crontab中,每天一次,即可实现自动签到

tieba's People

Contributors

friparia avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

tieba'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.