2017 © Pedro Peláez
 

library tieba

Baidu Tieba Auto Sign | 百度贴吧自动登录

image

friparia/tieba

Baidu Tieba Auto Sign | 百度贴吧自动登录

  • Tuesday, January 20, 2015
  • by friparia
  • Repository
  • 2 Watchers
  • 12 Stars
  • 3 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 5 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

百度贴吧签到库

提供一个基于cookie验证的百度贴吧签到方案, (*1)

安装

使用composer安装

composer.json里的require增加, (*2)

"friparia/tieba": "dev-master", (*3)

然后执行, (*4)

composer update, (*5)

使用github

直接使用, (*6)

git clone git@github.com:friparia/tieba.git, (*7)

然后编辑并执行demo.php, (*8)

签到

BDUSS是你的百度登陆后的cookie中的BDUSS的值, (*9)

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

自动签到

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

The Versions

20/01 2015

dev-master

9999999-dev

Baidu Tieba Auto Sign | 百度贴吧自动登录

  Sources   Download

The Requires

 

by Avatar friparia