Skip to main content

贴吧自动签到

Project description

百度贴吧 自动签到

如何安装

pip install --user tieba-sign

使用说明

#查看帮助
usage: tieba-sign [-h] [-v] bduss

Baidu Tieba Sign

positional arguments:
  bduss       tieba bduss cookie

optional arguments:
  -h, --help  show this help message and exit
  -v          verbose

首先登录百度,然后打开浏览器调试工具(按F12),在网络,请求头找到cookie,然后拷贝BDUSS段的值过来。

tieba-sign -v "RsNlNwbUpKdGtjeS1zaFZxcHJMQVZzM3BE;"

代码中使用

from tieba import Tieba

app=Tieba("RsNlNwbUpKdGtjeS1zaFZxcHJMQVZzM3BE;")
#查看签到状态
app.status()
#批量签到
app.auto_sign()
# 2021-05-21 17:16:34,982 贴吧签到: 获取到了120个贴吧信息
# 2021-05-21 17:16:34,982 贴吧签到: 3d打印已经签过了
# 2021-05-21 17:16:34,983 贴吧签到: 4k已经签过了

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tieba-sign-0.7.0.tar.gz (4.0 kB view hashes)

Uploaded Source

Built Distribution

tieba_sign-0.7.0-py3-none-any.whl (4.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page