https://github.com/x1ah/picobbs
Pico 社区自动领取积分脚本 https://bbs.picoxr.com/
https://github.com/x1ah/picobbs
automation cli python
Last synced: 6 months ago
JSON representation
Pico 社区自动领取积分脚本 https://bbs.picoxr.com/
- Host: GitHub
- URL: https://github.com/x1ah/picobbs
- Owner: x1ah
- License: mit
- Created: 2023-01-03T12:58:04.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-05-22T15:46:00.000Z (about 2 years ago)
- Last Synced: 2024-05-22T16:56:30.806Z (about 2 years ago)
- Topics: automation, cli, python
- Language: Python
- Homepage: https://when.run/picobbs
- Size: 18.6 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# picobbs
Pico 论坛每日积分任务脚本,积分规则:
- 每日签到获得 1-200 积分
- 每日发帖获得 100 积分
- 每日评论,获得 5 积分,最多评论 20 次
# 使用方式
1. 登录 [Pico 社区](https://bbs.picoxr.com/)
2. 找到名为 `sessionid` 的 cookie,填入到脚本中
```python
if __name__ == "__main__":
cli = PicoBBS(session_id="cookie 中的 sessionid 值", channels=[
Echo(),
LarkChannel("飞书 webhook")
])
cli.sign() # 执行每日签到
cli.publish_post() # 每日发帖
cli.comment() # 发送 20 个评论
```
3. 安装依赖:`pip install -r requirements.txt`
4. 运行脚本:`python pico.py`
5. [可选] 设置 cronjob 每日运行
6. 运行效果
