Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

腾讯视频vip每日签到模板更新 #683

Open
crossgg opened this issue Jul 3, 2024 · 36 comments
Open

腾讯视频vip每日签到模板更新 #683

crossgg opened this issue Jul 3, 2024 · 36 comments
Labels

Comments

@crossgg
Copy link
Contributor

crossgg commented Jul 3, 2024

HAR 模板名称

腾讯视频vip每日签到

作者信息

DDD

模板备注及说明

txspCookie:腾讯视频app 进入签到页面的Cookie
txspRefreshCookietxspRefreshBody:腾讯视频网页NewRefresh接口中(https://pbaccess.video.qq.com/trpc.video_account_login.web_login_trpc.WebLoginTrpc/NewRefresh) 的数据,用来刷新Cookie中的vqq_vusession
txspRefreshBody为json格式,eg:

{"data":{"errcode":0,"err_msg":"","vuserid":"xx","vusession":"xxx","head":"xxx","nick":"DDD","next_refresh_time":"6594","access_token":"xxxx","appid":"xxx","openid":"xxx","refresh_token":"xxxx"},"ret":0,"msg":""}

HAR 文件名

腾讯视频vip每日签到.har

其他信息

2年前的har失效了,可以删除或者替换

HAR 模板内容

[{"comment":"刷新vqq_vusession","request":{"method":"POST","url":"https://pbaccess.video.qq.com/trpc.video_account_login.web_login_trpc.WebLoginTrpc/NewRefresh","headers":[{"name":"Accept","value":"application/json, text/plain, */*"},{"name":"Origin","value":"https://v.qq.com"},{"name":"Accept-Encoding","value":"gzip, deflate, br"},{"name":"Content-Type","value":"text/plain;charset=utf-8"},{"name":"Connection","value":"keep-alive"},{"name":"User-Agent","value":"Mozilla/5.0 (iPhone; CPU iPhone OS 16_6_1 like Mac OS X) AppleWebKit/537.51.1 (KHTML, like Gecko) Mobile/11A465 QQLiveBrowser/8.9.71 AppType/UN WebKitCore/WKWebView iOS GDTTangramMobSDK/4.370.6 GDTMobSDK/4.370.6 cellPhone/iPhone 11 AppBuild/25981"},{"name":"Referer","value":"https://v.qq.com/"},{"name":"Accept-Language","value":"zh-CN,zh-Hans;q=0.9"},{"name":"cookie","value":"{{txspRefreshCookie}}"}],"cookies":[],"data":"{{txspRefreshBody}}","mimeType":"text/plain"},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"vusession_new","re":"vusession\":\"(.+?)\",","from":"content"}]}},{"comment":"cookie_字符串替换","request":{"method":"POST","url":"api://util/string/replace","headers":[],"cookies":[],"data":"r=json&p=vusession=[^;]*&s={{txspCookie}}&t=vusession={{vusession_new}}"},"rule":{"success_asserts":[{"re":"200","from":"status"},{"re":"\"状态\": \"OK\"","from":"content"}],"failed_asserts":[],"extract_variables":[{"name":"cookie","re":"\"处理后字符串\": \"(.*)\"","from":"content"}]}},{"comment":"每日签到奖励","request":{"method":"GET","url":"https://vip.video.qq.com/rpc/trpc.new_task_system.task_system.TaskSystem/CheckIn?rpc_data=%7B%7D","headers":[{"name":"Origin","value":"https://film.video.qq.com"},{"name":"Cookie","value":"{{cookie}}"},{"name":"Connection","value":"keep-alive"},{"name":"Accept","value":"application/json, text/plain, */*"},{"name":"User-Agent","value":"Mozilla/5.0 (iPhone; CPU iPhone OS 16_6_1 like Mac OS X) AppleWebKit/537.51.1 (KHTML, like Gecko) Mobile/11A465 QQLiveBrowser/8.9.71 AppType/UN WebKitCore/WKWebView iOS GDTTangramMobSDK/4.370.6 GDTMobSDK/4.370.6 cellPhone/iPhone 11 AppBuild/25981"},{"name":"Accept-Language","value":"zh-CN,zh-Hans;q=0.9"},{"name":"Referer","value":"https://film.video.qq.com/x/grade/?ovscroll=0&ptag=Vgrade.icon&source=page_id%3Ddefault%26pgid%3Dpage_personal_center%26page_type%3Dpersonal%26is_interactive_flag%3D1%26pg_clck_flag%3D1%26styletype%3D5%26mod_id%3Dsp_mycntr_userinfo%26sectiontype%3D1%26layouttype%3D22%26flush_num%3D0%26section_idx%3D0%26mod_title%3D%25E7%2594%25A8%25E6%2588%25B7%25E4%25BF%25A1%25E6%2581%25AF%26head_rlt_type%3Dlevel%26blocktype%3D6001%26mod_idx%3D0%26item_idx%3D2%26eid%3Dhead_rlt%26action_pos%3Djump&hidetitlebar=1&isFromJump=1&isDarkMode=0&uiType=REGULAR"},{"name":"Accept-Encoding","value":"deflate, gzip"}],"cookies":[]},"rule":{"success_asserts":[],"failed_asserts":[],"extract_variables":[{"name":"check","re":"\"check_in_score\":(.+?)","from":"content"}]}},{"comment":"赠送奖励","request":{"method":"GET","url":"https://vip.video.qq.com/rpc/trpc.new_task_system.task_system.TaskSystem/ProvideAward?rpc_data=%7B%22task_id%22%3A12%7D","headers":[{"name":"Origin","value":"https://film.video.qq.com"},{"name":"Cookie","value":"{{cookie}}"},{"name":"Connection","value":"keep-alive"},{"name":"Accept","value":"application/json, text/plain, */*"},{"name":"User-Agent","value":"Mozilla/5.0 (iPhone; CPU iPhone OS 16_6_1 like Mac OS X) AppleWebKit/537.51.1 (KHTML, like Gecko) Mobile/11A465 QQLiveBrowser/8.9.71 AppType/UN WebKitCore/WKWebView iOS GDTTangramMobSDK/4.370.6 GDTMobSDK/4.370.6 cellPhone/iPhone 11 AppBuild/25981"},{"name":"Accept-Language","value":"zh-CN,zh-Hans;q=0.9"},{"name":"Referer","value":"https://film.video.qq.com/x/grade/?ovscroll=0&ptag=Vgrade.icon&source=page_id%3Ddefault%26pgid%3Dpage_personal_center%26page_type%3Dpersonal%26is_interactive_flag%3D1%26pg_clck_flag%3D1%26styletype%3D5%26mod_id%3Dsp_mycntr_userinfo%26sectiontype%3D1%26layouttype%3D22%26flush_num%3D0%26section_idx%3D0%26mod_title%3D%25E7%2594%25A8%25E6%2588%25B7%25E4%25BF%25A1%25E6%2581%25AF%26head_rlt_type%3Dlevel%26blocktype%3D6001%26mod_idx%3D0%26item_idx%3D2%26eid%3Dhead_rlt%26action_pos%3Djump&hidetitlebar=1&isFromJump=1&isDarkMode=0&uiType=REGULAR"},{"name":"Accept-Encoding","value":"deflate, gzip"}],"cookies":[]},"rule":{"success_asserts":[],"failed_asserts":[],"extract_variables":[]}},{"comment":"每日观看60分钟奖励","request":{"method":"GET","url":"https://vip.video.qq.com/rpc/trpc.new_task_system.task_system.TaskSystem/ProvideAward?rpc_data=%7B%22task_id%22%3A1%7D","headers":[{"name":"Origin","value":"https://film.video.qq.com"},{"name":"Cookie","value":"{{cookie}}"},{"name":"Connection","value":"keep-alive"},{"name":"Accept","value":"application/json, text/plain, */*"},{"name":"User-Agent","value":"Mozilla/5.0 (iPhone; CPU iPhone OS 16_6_1 like Mac OS X) AppleWebKit/537.51.1 (KHTML, like Gecko) Mobile/11A465 QQLiveBrowser/8.9.71 AppType/UN WebKitCore/WKWebView iOS GDTTangramMobSDK/4.370.6 GDTMobSDK/4.370.6 cellPhone/iPhone 11 AppBuild/25981"},{"name":"Accept-Language","value":"zh-CN,zh-Hans;q=0.9"},{"name":"Referer","value":"https://film.video.qq.com/x/grade/?ovscroll=0&ptag=Vgrade.icon&source=page_id%3Ddefault%26pgid%3Dpage_personal_center%26page_type%3Dpersonal%26is_interactive_flag%3D1%26pg_clck_flag%3D1%26styletype%3D5%26mod_id%3Dsp_mycntr_userinfo%26sectiontype%3D1%26layouttype%3D22%26flush_num%3D0%26section_idx%3D0%26mod_title%3D%25E7%2594%25A8%25E6%2588%25B7%25E4%25BF%25A1%25E6%2581%25AF%26head_rlt_type%3Dlevel%26blocktype%3D6001%26mod_idx%3D0%26item_idx%3D2%26eid%3Dhead_rlt%26action_pos%3Djump&hidetitlebar=1&isFromJump=1&isDarkMode=0&uiType=REGULAR"},{"name":"Accept-Encoding","value":"deflate, gzip"}],"cookies":[]},"rule":{"success_asserts":[],"failed_asserts":[],"extract_variables":[]}},{"comment":"任务日志","request":{"method":"GET","url":"https://vip.video.qq.com/rpc/trpc.new_task_system.task_system.TaskSystem/ReadTaskList?rpc_data=%7B%22business_id%22%3A%221%22%2C%22platform%22%3A5%7D","headers":[{"name":"Origin","value":"https://film.video.qq.com"},{"name":"Connection","value":"keep-alive"},{"name":"Accept","value":"application/json, text/plain, */*"},{"name":"User-Agent","value":"Mozilla/5.0 (iPhone; CPU iPhone OS 16_6_1 like Mac OS X) AppleWebKit/537.51.1 (KHTML, like Gecko) Mobile/11A465 QQLiveBrowser/8.9.71 AppType/UN WebKitCore/WKWebView iOS GDTTangramMobSDK/4.370.6 GDTMobSDK/4.370.6 cellPhone/iPhone 11 AppBuild/25981"},{"name":"Accept-Language","value":"zh-CN,zh-Hans;q=0.9"},{"name":"Referer","value":"https://film.video.qq.com/x/grade/?ovscroll=0&ptag=Vgrade.icon&source=page_id%3Ddefault%26pgid%3Dpage_personal_center%26page_type%3Dpersonal%26is_interactive_flag%3D1%26pg_clck_flag%3D1%26styletype%3D5%26mod_id%3Dsp_mycntr_userinfo%26sectiontype%3D1%26layouttype%3D22%26flush_num%3D0%26section_idx%3D0%26mod_title%3D%25E7%2594%25A8%25E6%2588%25B7%25E4%25BF%25A1%25E6%2581%25AF%26head_rlt_type%3Dlevel%26blocktype%3D6001%26mod_idx%3D0%26item_idx%3D2%26eid%3Dhead_rlt%26action_pos%3Djump&hidetitlebar=1&isFromJump=1&isDarkMode=0&uiType=REGULAR"},{"name":"Accept-Encoding","value":"deflate, gzip"},{"name":"Cookie","value":"{{cookie}}"}],"cookies":[]},"rule":{"success_asserts":[],"failed_asserts":[],"extract_variables":[{"name":"sign","re":"VIP会员每日签到\",\"task_subtitle\":\"(.+?)\"","from":"content"},{"name":"gk","re":"\"手机看视频\",\"task_subtitle\":\"(.+?)\"","from":"content"},{"name":"fd","re":"赠送好友福袋\",\"task_subtitle\":\"(.+?)\"","from":"content"},{"name":"month","re":"month_received_score\":(.+?),","from":"content"},{"name":"month_limit","re":"month_limit\":(.+?)}","from":"content"}]}},{"request":{"method":"POST","url":"https://vip.video.qq.com/rpc/trpc.query_vipinfo.vipinfo.QueryVipInfo/GetVipUserInfoH5","headers":[{"name":"Accept","value":"application/json, text/plain, */*"},{"name":"Origin","value":"https://film.qq.com"},{"name":"Accept-Encoding","value":"gzip, deflate, br"},{"name":"Content-Type","value":"text/plain;charset=utf-8"},{"name":"Connection","value":"keep-alive"},{"name":"User-Agent","value":"Mozilla/5.0 (iPhone; CPU iPhone OS 16_6_1 like Mac OS X) AppleWebKit/537.51.1 (KHTML, like Gecko) Mobile/11A465 QQLiveBrowser/8.9.71 AppType/UN WebKitCore/WKWebView iOS GDTTangramMobSDK/4.370.6 GDTMobSDK/4.370.6 cellPhone/iPhone 11 AppBuild/25981"},{"name":"Referer","value":"https://film.qq.com/h5/vip-center/index.html?aid=V0$$1:0$2:7$3:8.5.80.25650$4:0$8:14$9:100137$12:&hidetitlebar=1&isDarkMode=0&uiType=REGULAR"},{"name":"Accept-Language","value":"zh-CN,zh-Hans;q=0.9"},{"name":"Cookie","value":"{{cookie}}"}],"cookies":[],"data":"{\"geticon\":1,\"viptype\":\"svip|sports|qquvip\",\"platform\":7}","mimeType":"text/plain"},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"endTime","re":"endTime\":\"(.+?)\"","from":"content"},{"name":"score","re":"score\":(.+?),","from":"content"}]}},{"comment":"Unicode转换","request":{"method":"POST","url":"api://util/unicode","headers":[],"cookies":[],"data":"content=【会员有效期:{{endTime}}】--签到:【{{sign}}-{{check}}】 -----【任务观看奖励:{{gk}}】【赠送福袋奖励:{{fd}}】---【本月积分:{{month\n}}/(上限{{month_limit}})】--目前积分:【{{score}}】"},"rule":{"success_asserts":[{"re":"200","from":"status"},{"re":"\"状态\": \"200\"","from":"content"}],"failed_asserts":[],"extract_variables":[{"name":"__log__","re":"\"转换后\": \"(.*)\"","from":"content"}]}}]
@ZhengchaoCao
Copy link

txspRefreshCookie、txspRefreshBody怎么抓取,求教程

@crossgg
Copy link
Contributor Author

crossgg commented Jul 13, 2024

txspRefreshCookie、txspRefreshBody怎么抓取,求教程

腾讯视频网页版抓

@ZhengchaoCao
Copy link

就是在网页搜了半天,没找到,,求个教程!小白,求大佬教下

@crossgg
Copy link
Contributor Author

crossgg commented Jul 13, 2024

就是在网页搜了半天,没找到,,求个教程!小白,求大佬教下

新建个无痕窗口从登录时候开始抓搜NewRefresh

@ZhengchaoCao
Copy link

txspRefreshBody是不是这个呀,,,application/json,,我翻遍了,只找到这个带josn

@wildbull91
Copy link

为啥执行后提示成功,但是日志是none,实际app上还是没有签到?

@crossgg
Copy link
Contributor Author

crossgg commented Jul 14, 2024

为啥执行后提示成功,但是日志是none,实际app上还是没有签到?

这个har没有做失败判定。
成功是这样的
Screenshot_2024-07-14-18-39-56-010_mark via

@zuowo
Copy link

zuowo commented Jul 16, 2024

就是在网页搜了半天,没找到,,求个教程!小白,求大佬教下

新建个无痕窗口从登录时候开始抓搜NewRefresh

大佬,无痕窗口登录,然后审查元素或者F12进去之后点哪个?都点了一遍也没搜到NewRefresh。谢谢!

@ZhengchaoCao
Copy link

txspRefreshBody有谁知道这个怎么抓吗,,找了半天找不到它

@crossgg
Copy link
Contributor Author

crossgg commented Jul 16, 2024

txspRefreshBody有谁知道这个怎么抓吗,,找了半天找不到它
网页v.qq.com,F12。
PKS16}ZDB OICU{H%$KY5
BZRDJTFLKZ6ABF271CXO4

@crossgg
Copy link
Contributor Author

crossgg commented Jul 16, 2024

就是在网页搜了半天,没找到,,求个教程!小白,求大佬教下

新建个无痕窗口从登录时候开始抓搜NewRefresh

大佬,无痕窗口登录,然后审查元素或者F12进去之后点哪个?都点了一遍也没搜到NewRefresh。谢谢!

F12 网络。。 不在审查元素那

@crossgg crossgg pinned this issue Jul 16, 2024
@zuowo
Copy link

zuowo commented Jul 16, 2024

按图片教程找到了txspRefreshCookie和txspRefreshBody,请问Cookies那里怎么填呢?谢谢!

@crossgg
Copy link
Contributor Author

crossgg commented Jul 16, 2024

按图片教程找到了txspRefreshCookie和txspRefreshBody,请问Cookies那里怎么填呢?谢谢!

不是,你不看说明的吗??一共就三个参数 说明都写得清清楚楚了,怎么抓也说了。

@fengzaixing401
Copy link

1721132649987 大佬,获取到信息但没有签到,日志如上。我的cookies格式是txspCookie: ..... ;txspRefreshCookie:........;txspRefreshBody:..........;

@crossgg
Copy link
Contributor Author

crossgg commented Jul 16, 2024

txspRefreshBody的数据
复制出来,去https://m.bejson.com/json/format/ 压缩成一行。和说明的数据一样

@fengzaixing401
Copy link

txspRefreshBody的数据 复制出来,去https://m.bejson.com/json/format/ 压缩成一行。和说明的数据一样

1721138297664

多谢大佬,目前签到成功了,任务观看和赠送福袋不知道有没有成功,明天执行之后再看日志。目前的cookie格式是没有添加txspCookie,txspRefreshCookie,txspRefreshBody前缀,直接三个数据用:隔开

@crossgg
Copy link
Contributor Author

crossgg commented Jul 16, 2024

txspRefreshBody的数据 复制出来,去https://m.bejson.com/json/format/ 压缩成一行。和说明的数据一样

1721138297664 多谢大佬,目前签到成功了,任务观看和赠送福袋不知道有没有成功,明天执行之后再看日志。目前的cookie格式是没有添加txspCookie,txspRefreshCookie,txspRefreshBody前缀,直接三个数据用:隔开

你这个看起来是老脚本...老脚本cookie不会自动更新,第二天就失效了。重新添加吧。
另外观看等任务不会自动做,只会在观看达标后自动领取奖励
Screenshot_2024-07-16-22-20-47-150_mark via-edit

@ZhengchaoCao
Copy link

感谢大佬教我抓ck.!成功跑起来,
IMG_20240717_085240.jpg

@zuowo
Copy link

zuowo commented Jul 17, 2024

订阅了之后界面还是之前的,跟大佬的不一样

@zuowo
Copy link

zuowo commented Jul 17, 2024

txspCookie:腾讯视频app 进入签到页面的Cookie 这是用手机抓包吗?

@zuowo
Copy link

zuowo commented Jul 17, 2024

Uploading 360截图20240717114207658.jpg…

@fengzaixing401
Copy link

fengzaixing401 commented Jul 17, 2024

1721187703081

订阅的7月5日模板,还是原来的界面,跟大佬不一样。框架是20240210

@zuowo
Copy link

zuowo commented Jul 17, 2024

订阅的7月5日模板,还是原来的界面,跟大佬不一样。框架是20240210
一样的问题。请问txspCookie:腾讯视频app 进入签到页面的Cookie 这是用手机抓包吗?

@fengzaixing401
Copy link

订阅的7月5日模板,还是原来的界面,跟大佬不一样。框架是20240210
一样的问题。请问txspCookie:腾讯视频app 进入签到页面的Cookie 这是用手机抓包吗?

是的手机抓包

@crossgg
Copy link
Contributor Author

crossgg commented Jul 17, 2024

1721187703081 订阅的7月5日模板,还是原来的界面,跟大佬不一样。框架是20240210

额 不懂怎么没更新成功。你先本地新建个文本,把har内容复制进去,手动上传吧
image

@zuowo
Copy link

zuowo commented Jul 17, 2024

好像成功了,显示本月积分上限。明天再试试看对不对

@fengzaixing401
Copy link

好像成功了,显示本月积分上限。明天再试试看对不对

建议先手动签到看看是不是要验证

@wildbull91
Copy link

为啥执行后提示成功,但是日志是none,实际app上还是没有签到?

最后发现问题了,har文件保存成gbk的了,最后改为utf8的就正常了

@crossgg
Copy link
Contributor Author

crossgg commented Jul 20, 2024

为啥执行后提示成功,但是日志是none,实际app上还是没有签到?

最后发现问题了,har文件保存成gbk的了,最后改为utf8的就正常了

现在可以通过订阅更新了

@nuoyi66
Copy link

nuoyi66 commented Jul 22, 2024

订阅的7月5日模板,还是原来的界面,跟大佬不一样。 框架是20240210 一样的问题。 请问txspCookie:腾讯视频app 进入签到页面的Cookie 这是用手机抓包吗?

是的手机抓包

你好,我想问一下,手机怎么抓的,我之前用黄鸟直接可以抓到,现在抓不到了。

@zuowo
Copy link

zuowo commented Jul 23, 2024

用苹果手机上的stream抓的

@wildbull91
Copy link

为啥执行后提示成功,但是日志是none,实际app上还是没有签到?

最后发现问题了,har文件保存成gbk的了,最后改为utf8的就正常了

现在可以通过订阅更新了

请问一下这个需要怎么订阅?

@icaca
Copy link

icaca commented Aug 22, 2024

备注太长了,把qiandao撑大了,烦请调整下,谢谢。
image

@a1170428320
Copy link

txspRefreshBody的数据 复制出来,去https://m.bejson.com/json/format/ 压缩成一行。和说明的数据一样

可以指点一下不?txspCookie:腾讯视频app 进入签到页面的Cookie,这个要怎么抓包?用啥软件吗?

@a1170428320
Copy link

用苹果手机上的stream抓的

可以帮我抓一下吗?实在是不会弄txspCookie

@crossgg
Copy link
Contributor Author

crossgg commented Oct 14, 2024

txspRefreshBody的数据 复制出来,去https://m.bejson.com/json/format/ 压缩成一行。和说明的数据一样

可以指点一下不?txspCookie:腾讯视频app 进入签到页面的Cookie,这个要怎么抓包?用啥软件吗?

我现在签到要短信验证码了,如果要验证就无解了,不抓了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

8 participants