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 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page