Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
wozulong authored Jan 16, 2025
1 parent 06ec264 commit 05c546c
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# lottery
LINUX DO 抽奖脚本

1. 修改 `seed.txt` 文件内容,以便固定本次抽奖结果。我们可以将 `seed.txt` 放进加密 `zip` 压缩包中提前上传到抽奖帖中。
2. 直接 `python lottery.py -t` 启动交互模式。会要求输入:帖子地址、中奖人数。
3. 或者 `python lottery.py 帖子地址 中奖人数` 直接抽奖。
4. 如果需要登录的帖子,可以在 `cookies.txt` 中填入你的 cookies。可以F12在网络请求中找到 `Cookie` 头的内容直接复制进去。
5. 抽奖之前,需要先关闭帖子。
1. 直接 `python lottery.py -t` 启动交互模式。会要求输入:帖子地址、中奖人数、最后楼层(可选)。
2. 或者 `python lottery.py 帖子地址 中奖人数 -f 最后楼层(可选)` 直接抽奖。
3. 如果需要登录的帖子,可以在 `cookies.txt` 中填入你的 cookies。可以F12在网络请求中找到 `Cookie` 头的内容直接复制进去。
4. 帖子需要发在 `福利羊毛` 相关版块。抽奖之前,需要先关闭帖子。

0 comments on commit 05c546c

Please sign in to comment.