File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -268,6 +268,25 @@ class BrowseSpecialPage(BaseSign):
268268 URL_SIGN = 'https://api-alpha.vip.miui.com/mtop/planet/vip/member/addCommunityGrowUpPointByActionV2'
269269
270270
271+ class BrowseVideoPost (BaseSign ):
272+ """
273+ 浏览指定视频流超过5分钟
274+ """
275+ NAME = "浏览指定视频流超过5分钟"
276+
277+ PARAMS = {
278+ 'ref' : 'vipAccountShortcut' ,
279+ 'pathname' : '/mio/detail' ,
280+ 'version' : 'dev.231026' ,
281+ 'miui_vip_a_ph' : "{miui_vip_a_ph}"
282+ }
283+ DATA = {
284+ 'action' : 'BROWSE_VIDEO_POST' ,
285+ 'miui_vip_a_ph' : "{miui_vip_a_ph}"
286+ }
287+ URL_SIGN = 'https://api-alpha.vip.miui.com/mtop/planet/vip/member/addCommunityGrowUpPointByActionV2'
288+
289+
271290class BoardFollow (BaseSign ):
272291 """
273292 加入小米圈子
@@ -329,6 +348,7 @@ class CarrotPull(BaseSign):
329348# 注册签到任务
330349BaseSign .AVAILABLE_SIGNS [CheckIn .NAME ] = CheckIn
331350BaseSign .AVAILABLE_SIGNS [BrowsePost .NAME ] = BrowsePost
351+ BaseSign .AVAILABLE_SIGNS [BrowseVideoPost .NAME ] = BrowseVideoPost
332352BaseSign .AVAILABLE_SIGNS [BrowseUserPage .NAME ] = BrowseUserPage
333353BaseSign .AVAILABLE_SIGNS [BrowseSpecialPage .NAME ] = BrowseSpecialPage
334354BaseSign .AVAILABLE_SIGNS [BoardFollow .NAME ] = BoardFollow
Original file line number Diff line number Diff line change @@ -73,6 +73,8 @@ class Account(BaseModel):
7373 """社区浏览个人主页10秒,启用功能意味着你愿意自行承担相关风险"""
7474 BrowsePost : bool = False
7575 """社区浏览帖子10秒,启用功能意味着你愿意自行承担相关风险"""
76+ BrowseVideoPost : bool = False
77+ """社区浏览视频帖子5分钟,启用功能意味着你愿意自行承担相关风险"""
7678 ThumbUp : bool = False
7779 """点赞帖子,启用功能意味着你愿意自行承担相关风险"""
7880 BrowseSpecialPage : bool = False
You can’t perform that action at this time.
0 commit comments