mirror of
https://github.com/0-8-4/miui-auto-tasks.git
synced 2024-11-16 04:35:51 +00:00
feat: 添加视频浏览任务 (#275)
This commit is contained in:
parent
019cd28e29
commit
d6ec232e11
@ -268,6 +268,25 @@ class BrowseSpecialPage(BaseSign):
|
|||||||
URL_SIGN = 'https://api-alpha.vip.miui.com/mtop/planet/vip/member/addCommunityGrowUpPointByActionV2'
|
URL_SIGN = 'https://api-alpha.vip.miui.com/mtop/planet/vip/member/addCommunityGrowUpPointByActionV2'
|
||||||
|
|
||||||
|
|
||||||
|
class BrowseVideoPost(BaseSign):
|
||||||
|
"""
|
||||||
|
浏览指定视频流超过5分钟
|
||||||
|
"""
|
||||||
|
NAME = "浏览指定视频流超过5分钟"
|
||||||
|
|
||||||
|
PARAMS = {
|
||||||
|
'ref': 'vipAccountShortcut',
|
||||||
|
'pathname': '/mio/detail',
|
||||||
|
'version': 'dev.231026',
|
||||||
|
'miui_vip_a_ph': "{miui_vip_a_ph}"
|
||||||
|
}
|
||||||
|
DATA = {
|
||||||
|
'action': 'BROWSE_VIDEO_POST',
|
||||||
|
'miui_vip_a_ph': "{miui_vip_a_ph}"
|
||||||
|
}
|
||||||
|
URL_SIGN = 'https://api-alpha.vip.miui.com/mtop/planet/vip/member/addCommunityGrowUpPointByActionV2'
|
||||||
|
|
||||||
|
|
||||||
class BoardFollow(BaseSign):
|
class BoardFollow(BaseSign):
|
||||||
"""
|
"""
|
||||||
加入小米圈子
|
加入小米圈子
|
||||||
@ -329,6 +348,7 @@ class CarrotPull(BaseSign):
|
|||||||
# 注册签到任务
|
# 注册签到任务
|
||||||
BaseSign.AVAILABLE_SIGNS[CheckIn.NAME] = CheckIn
|
BaseSign.AVAILABLE_SIGNS[CheckIn.NAME] = CheckIn
|
||||||
BaseSign.AVAILABLE_SIGNS[BrowsePost.NAME] = BrowsePost
|
BaseSign.AVAILABLE_SIGNS[BrowsePost.NAME] = BrowsePost
|
||||||
|
BaseSign.AVAILABLE_SIGNS[BrowseVideoPost.NAME] = BrowseVideoPost
|
||||||
BaseSign.AVAILABLE_SIGNS[BrowseUserPage.NAME] = BrowseUserPage
|
BaseSign.AVAILABLE_SIGNS[BrowseUserPage.NAME] = BrowseUserPage
|
||||||
BaseSign.AVAILABLE_SIGNS[BrowseSpecialPage.NAME] = BrowseSpecialPage
|
BaseSign.AVAILABLE_SIGNS[BrowseSpecialPage.NAME] = BrowseSpecialPage
|
||||||
BaseSign.AVAILABLE_SIGNS[BoardFollow.NAME] = BoardFollow
|
BaseSign.AVAILABLE_SIGNS[BoardFollow.NAME] = BoardFollow
|
||||||
|
@ -73,6 +73,8 @@ class Account(BaseModel):
|
|||||||
"""社区浏览个人主页10秒,启用功能意味着你愿意自行承担相关风险"""
|
"""社区浏览个人主页10秒,启用功能意味着你愿意自行承担相关风险"""
|
||||||
BrowsePost: bool = False
|
BrowsePost: bool = False
|
||||||
"""社区浏览帖子10秒,启用功能意味着你愿意自行承担相关风险"""
|
"""社区浏览帖子10秒,启用功能意味着你愿意自行承担相关风险"""
|
||||||
|
BrowseVideoPost: bool = False
|
||||||
|
"""社区浏览视频帖子5分钟,启用功能意味着你愿意自行承担相关风险"""
|
||||||
ThumbUp: bool = False
|
ThumbUp: bool = False
|
||||||
"""点赞帖子,启用功能意味着你愿意自行承担相关风险"""
|
"""点赞帖子,启用功能意味着你愿意自行承担相关风险"""
|
||||||
BrowseSpecialPage: bool = False
|
BrowseSpecialPage: bool = False
|
||||||
|
Loading…
Reference in New Issue
Block a user