Skip to content
This repository has been archived by the owner on Feb 8, 2021. It is now read-only.

Commit

Permalink
commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesus-Ja committed Sep 10, 2020
1 parent a8e623a commit 7257784
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 10 deletions.
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
>
> 💫每日积分获取40+积分
>
> 💢对于超话签到Cookie有效时长好像只有7天……
> 💢超话签到连续签到7天之后好像账户会异常需要验证……


Expand Down Expand Up @@ -48,7 +48,6 @@ schedule:

```python
# 有能力可以自定义自己的每日任务
# self.log.append()是为了微信推送看上去更干净
# 每日超话签到+每日积分获取+超话APP登录积分+超话打榜+超话评论转发+任务中心

def daily_task(self, s, pick, sckey):
Expand Down Expand Up @@ -129,13 +128,13 @@ def daily_task(self, s, pick, sckey):
1. 关注超话签到

- 超话等级越高,签到积分越高
- Cookie的七天时效性(猜测)会致使签到失败,需要验证,暂无他法
- 连续签到7天之后会出现异常,需要验证,未找到解决办法
- 默认降序排序,超话等级高先签到、签到过的超话将不再进行数据请求进行签到
2. 每日积分获取
- 连续签到积分最高8分
3. 微博超话APP登录积分
- 该接口验证ip设备,只有在已登录ip才可生效,因此GitHub上无法成功除非写登录接口
- 在本机,网页登录微博成功后,程序运行是可以成功的
- 该接口验证ip设备,只有在已登录ip才可生效,以目前能力暂GitHub上无法成功
- 在本地网页登录微博成功后,程序运行是可以成功的
4. 超话帖子评论转发点赞
- 已优化评论转发积分获取,将获取关注超话列表等级最低的超话进行无痕刷分
- 进入关注超话等级最低的超话,转发评论所带的content都为💦
Expand Down
2 changes: 1 addition & 1 deletion api.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ def check_in(self, s, topic_dict):
msg = f'TopicName:{topic_dict["topic_title"]}\nLevel:{topic_dict["topic_level"]}\nMessage:{success_msg}\n'
return self.req_res(status=1, res_name="msg", res=msg)
elif check_res.json()["result"] == 388000:
errmsg = "💢签到异常需要验证,更新Cookie即可解决"
errmsg = "💢签到异常需要身份验证,暂未找到合适的解决办法"
return self.req_res(status=0, errmsg=errmsg)
else:
msg = f'TopicName:{topic_dict["topic_title"]}\nLevel:{topic_dict["topic_level"]}\nMessage:今日已签到\n'
Expand Down
12 changes: 8 additions & 4 deletions task.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,14 @@


def run():
cookie = input()
s = input()
pick = input()
sckey = input()
# cookie = input()
# s = input()
# pick = input()
# sckey = input()
cookie = "SUB=_2A25yVn6SDeRhGeNL6VoY-S3FzTuIHXVRuQLarDV6PUJbktANLVXRkW1NSQ6IkGQkKcgtYSurxDi7o8n8V3Br6Jx2; SUBP=0033WrSXqPxfM725Ws9jqgMF55529P9D9W5gNbWkaYeKefh9X8j0feB-5NHD95QfSKzR1K.01KqNWs4Dqcjz-JHyCJ80dcRt; SUHB=0u5RIApk3b7HhI; _T_WM=64253077786; XSRF-TOKEN=0be317; WEIBOCN_FROM=1110006030; MLOGIN=1; M_WEIBOCN_PARAMS=luicode%3D20000174%26uicode%3D20000174%26fid%3D2304135528993967_-_WEIBO_SECOND_PROFILE_WEIBO"
s = "22222222"
pick = "喻言"
sckey = "SCU90543Ta7d070aba5fa5f6976b8f05dd98b32085e7615bc0f542"
wei = WeiBo(cookie)
wei.daily_task(s, pick, sckey)

Expand Down

0 comments on commit 7257784

Please sign in to comment.