-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
大会员大积分报错-401,非法访问 #260
Comments
大会员积分出错,还有就是那个取关能不能设置数量的? |
请贴debug级别的详细日志 |
这是来自QQ邮箱的假期自动回复邮件。你好,三天之内会回复
|
什么是debug日志?log? |
应该是这个日志吧,名称可能不对 |
不是这个 |
那是哪个?能说说吗? |
日志输出文档:3.7. 日志相关 |
该问题在我这里也出现了,日志太长了,已折叠。 START RequestId: 3d8006ea-e0cf-4abe-9f69-745dc555a72d[step 1]初始化,开始加载函数文件 index.sh 2022-08-26T07:38:02.0307889Z File target /var/user/Logs/log20220826.txt was locked, attempting to open next in sequence (attempt 1) [07:38:02 INF] 随机休眠8分钟 [07:46:02 INF] ######### 账号 1 ######### [07:46:02 INF] =====开始 大会员大积分 ===== [07:46:02 INF] ---开始 测试Cookie --- [RESPONSE] [ELAPSED] 00:00:12.6764249 [07:46:26 DBG] [REQUEST] [RESPONSE] {"code":0,"message":"0","ttl":1,"data":{"vip_info":{"type":2,"status":1,"due_date":1708358400000,"vip_pay_type":0,"start_time":1522512404,"paid_type":0,"mid":183468403,"role":3,"tv_vip_status":0,"tv_vip_pay_type":0,"tv_due_date":1656518400},"point_info":{"point":265,"expire_point":0,"expire_time":0,"expire_days":0},"task_info":{"modules":[{"module_title":"福利任务","common_task_item":[{"task_code":"bonus","state":3,"title":"大会员福利大积分","icon":"https://i0.hdslb.com/bfs/activity-plat/static/20220607/b66bfe4ccfd6bed05bdb54008ff5c7aa/IbtMl6R3yt.png","subtitle":"大会员/年度大会员\u003cbr /\u003e\u003cspan class="active"\u003e+100/200大积分","explain":"在期大会员可领取100大积分,在期年度大会员可领取200大积分,每人限领1次。如当身份为大会员时已领取过本任务大积分,则后续成为年度大会员也无法补领取差值大积分。","vip_limit":1,"complete_times":1,"max_times":1,"recall_num":0}]},{"module_title":"体验任务","common_task_item":[{"task_code":"privilege","state":3,"title":"浏览大会员权益页面","icon":"https://i0.hdslb.com/bfs/activity-plat/static/20220607/b66bfe4ccfd6bed05bdb54008ff5c7aa/IbtMl6R3yt.png","subtitle":"\u003cspan class="active"\u003e+50大积分\u003c/span\u003e","explain":"从本任务入口跳转至大会员权益页,浏览后可得50大积分,每人限完成1次。","link":"https://big.bilibili.com/mobile/rights?closable=1\u0026navhide=1","vip_limit":0,"complete_times":1,"max_times":1,"recall_num":0}]},{"module_title":"日常任务","module_sub_title":"截止至08-26 23:59:59","common_task_item":[{"task_code":"animatetab","state":1,"title":"浏览追番频道页10秒","icon":"https://i0.hdslb.com/bfs/activity-plat/static/20220607/b66bfe4ccfd6bed05bdb54008ff5c7aa/uOwc1tuJwm.png","subtitle":"\u003cspan class="active"\u003e+10大积分\u003c/span\u003e","explain":"从本任务入口跳转至追番频道页,并连续浏览页面达10秒可得10大积分,每天可完成1次。如浏览过程中离开追番频道页则中断计时,任务判定失败,需重新从本任务入口再次跳转。","link":"bilibili://home?bottom_tab_name=首页\u0026tab_name=追番\u0026tab_id=bangumi\u0026vip_task_countdown=10000","vip_limit":1,"complete_times":0,"max_times":1,"recall_num":0},{"task_code":"filmtab","state":1,"title":"浏览影视频道页10秒","icon":"https://i0.hdslb.com/bfs/activity-plat/static/20220607/b66bfe4ccfd6bed05bdb54008ff5c7aa/bWPJRBuMh3.png","subtitle":"\u003cspan class="active"\u003e+10大积分\u003c/span\u003e","explain":"从本任务入口跳转至影视频道页,并连续浏览页面达10秒可得10大积分,每天可完成1次。如浏览过程中离开影视频道页则中断计时,任务判定失败,需重新从本任务入口再次跳转。","link":"bilibili://home?bottom_tab_name=首页\u0026tab_name=影视\u0026tab_id=film\u0026vip_task_countdown=10000","vip_limit":1,"complete_times":0,"max_times":1,"recall_num":0},{"task_code":"vipmallview","state":1,"title":"浏览会员购页面10秒","icon":"https://i0.hdslb.com/bfs/activity-plat/static/20220613/b66bfe4ccfd6bed05bdb54008ff5c7aa/RnlARrUdOY.png","subtitle":"\u003cspan class="active"\u003e+10大积分\u003c/span\u003e","explain":"从本任务入口跳转至会员购页面,并连续浏览页面达10秒可得10大积分,每天可完成1次。如浏览过程中离开会员购页面则中断计时,任务判定失败,需重新从本任务入口再次跳转。","link":"bilibili://mall/home?msource=member_integral_browse\u0026action=browse_all\u0026eventId=hevent_oy4b7h3epeb\u0026eventTime=10\u0026showCountDown=2\u0026taskName1=%E6%B5%8F%E8%A7%8810%E7%A7%92\u0026taskName1Placeholder=%E6%B5%8F%E8%A7%88%25ss\u0026taskName2=%E5%BE%97%E7%A7%AF%E5%88%86\u0026taskEndText=%E4%BB%BB%E5%8A%A1%E5%AE%8C%E6%88%90","vip_limit":1,"complete_times":0,"max_times":1,"recall_num":0},{"task_code":"ogvwatch","state":0,"title":"观看任意正片内容","icon":"https://i0.hdslb.com/bfs/activity-plat/static/20220607/b66bfe4ccfd6bed05bdb54008ff5c7aa/6prGo240Md.png","subtitle":"每观看15分钟\u003cspan class="active"\u003e+20大积分\u003c/span\u003e","explain":"领取本任务后,当天内观看番剧/国创/电影/电视剧/综艺/纪录片任意品类的正片内容的累计时长每达到15分钟可得20大积分,每天上限40大积分。单次观看行为需大于15秒才会被记入当天累计观看时长中。","link":"https://www.bilibili.com/blackboard/activity-NUbGzdNJpz.html?msource=jifen","vip_limit":1,"complete_times":0,"max_times":2,"recall_num":0},{"task_code":"tvodbuy","state":0,"title":"购买单点付费影片","icon":"https://i0.hdslb.com/bfs/activity-plat/static/20220607/b66bfe4ccfd6bed05bdb54008ff5c7aa/6prGo240Md.png","subtitle":"会员特价/独家付费任意影片\u003cbr /\u003e\u003cspan class="active"\u003e+70大积分\u003c/span\u003e","explain":"领取本任务后,当天内购买任意1部会员特价/独家付费的影片可得70大积分,每天上限70大积分。","link":"https://www.bilibili.com/blackboard/activity-F6sCMq4w92.html?msource=jifen","vip_limit":1,"complete_times":0,"max_times":1,"recall_num":0},{"task_code":"subscribe","state":0,"title":"购买指定大会员产品","icon":"https://i0.hdslb.com/bfs/activity-plat/static/20220607/b66bfe4ccfd6bed05bdb54008ff5c7aa/IbtMl6R3yt.png","subtitle":"实付1元\u003cspan class="active"\u003e+5/10大积分\u003c/span\u003e,当前0/2000\u003cbr /\u003e","explain":"领取本任务后,当天内所有购买的大会员产品(除赠送好友和动态抽奖产品外)可获得大积分,大会员产品每实付1元+10大积分,联合会员产品每实付1元+5大积分,每天上限2000大积分。如在购买大会员产品前未领取本任务,可在购买后的当天内补领取获得大积分。如用户通过购买大会员产品获得了本任务大积分,后续将购买的产品退款,则同时会扣除当时获得的任务大积分。","link":"bilibili://user_center/vip/buy/161?appSubId=bp_subscribe","vip_limit":0,"complete_times":0,"max_times":40000,"recall_num":0},{"task_code":"vipmallbuy","state":0,"title":"购买指定会员购商品","icon":"https://i0.hdslb.com/bfs/activity-plat/static/20220613/b66bfe4ccfd6bed05bdb54008ff5c7aa/RnlARrUdOY.png","subtitle":"实付1元\u003cspan class="active"\u003e+10大积分\u003c/span\u003e,当前0/2000","explain":"领取本任务后,当天内购买会员购商品的首笔订单(除魔力赏/一番赏/票务/先行预定订单外)可获得大积分,每实付1元+10大积分,每天上限2000大积分。本任务不支持先行购买后补领取大积分。如用户通过购买会员购商品获得了本任务大积分,后续将购买的商品退款,则同时会扣除当时获得的任务大积分。如购买商品获得大积分后的当天内产生退款,则大积分扣除后,当天无法再完成此任务。","link":"bilibili://mall/home?msource=member_integral_buy","vip_limit":1,"complete_times":0,"max_times":20000,"recall_num":0}]}],"sing_task_item":{"histories":[{"day":"2022-08-20","signed":false,"score":0},{"day":"2022-08-21","signed":false,"score":0},{"day":"2022-08-22","signed":false,"score":0},{"day":"2022-08-23","signed":false,"score":0},{"day":"2022-08-24","signed":false,"score":0},{"day":"2022-08-25","signed":false,"score":0},{"day":"2022-08-26","signed":true,"score":5,"is_today":true},{"day":"2022-08-27","signed":false,"score":5},{"day":"2022-08-28","signed":false,"score":5},{"day":"2022-08-29","signed":false,"score":5},{"day":"2022-08-30","signed":false,"score":5},{"day":"2022-08-31","signed":false,"score":5},{"day":"2022-09-01","signed":false,"score":10}],"count":1,"base_score":5},"score_month":5,"score_limit":10000},"current_ts":1661499986} [ELAPSED] 00:00:11.2565416 [07:46:26 INF] ---开始 签到 --- [07:46:26 INF] ---开始 福利任务 --- [07:46:26 INF] ---开始 体验任务 --- [07:46:26 INF] ---开始 浏览追番频道页10秒 --- position=jp_channel&c_locale=zh_CN&channel=html5_search_baidu&disable_rcmd=0&mobi_app=android&platform=android&s_locale=zh_CN&statistics=%7b%5c%22appId%5c%22%3a1%2c%5c%22platform%5c%22%3a3%2c%5c%22version%5c%22%3a%5c%226.85.0%5c%22%2c%5c%22abtest%5c%22%3a%5c%22%5c%22%7d [RESPONSE] {"code":-401,"message":"非法访问"} [ELAPSED] 00:00:14.1577184 [07:46:50 INF] ---开始 浏览影视频道页10秒 --- position=tv_channel&c_locale=zh_CN&channel=html5_search_baidu&disable_rcmd=0&mobi_app=android&platform=android&s_locale=zh_CN&statistics=%7b%5c%22appId%5c%22%3a1%2c%5c%22platform%5c%22%3a3%2c%5c%22version%5c%22%3a%5c%226.85.0%5c%22%2c%5c%22abtest%5c%22%3a%5c%22%5c%22%7d [RESPONSE] {"code":-401,"message":"非法访问"} [ELAPSED] 00:00:20.1468372 [07:47:20 INF] ---开始 浏览会员购页面10秒 --- [07:47:20 INF] ---开始 观看任意正片内容 --- {"taskCode":"ogvwatch"} [RESPONSE] {"code":-401,"message":"非法访问"} [ELAPSED] 00:00:16.1430886 [07:47:36 INF] ---开始 购买单点付费影片(仅领取) --- {"taskCode":"tvodbuy"} [RESPONSE] {"code":-401,"message":"非法访问"} [ELAPSED] 00:00:19.1508730 [07:47:56 INF] ---开始 购买指定大会员产品(仅领取) --- {"taskCode":"subscribe"} [RESPONSE] {"code":-401,"message":"非法访问"} [ELAPSED] 00:00:13.1604121 [07:48:09 INF] ---开始 购买指定会员购商品(仅领取) --- {"taskCode":"vipmallbuy"} [RESPONSE] {"code":-401,"message":"非法访问"} [ELAPSED] 00:00:19.1451150 [07:48:28 INF] ------当前任务状态------ [07:48:28 INF] ===========结束=========== [07:48:28 INF]v0.2.1 in Production env. [07:48:28 INF] ·开始推送·VipBigPoint任务· [07:48:28 INF] 运行结束 |
该问题没有修复。 |
等下次更新看看吧 |
同问 [01:07:11 INF] =====开始 大会员大积分 ===== [01:07:11 INF] ---开始 测试Cookie --- [01:07:23 INF] ------当前任务状态------ [01:07:23 INF] ---开始 签到 --- [01:07:26 INF] ---开始 福利任务 --- [01:07:26 INF] ---开始 体验任务 --- [01:07:26 INF] ---开始 浏览追番频道页10秒 --- [01:07:26 INF] ---开始 浏览影视频道页10秒 --- [01:07:26 INF] ---开始 浏览会员购页面10秒 --- [01:07:26 INF] ---开始 观看任意正片内容 --- [01:07:26 INF] ---开始 购买单点付费影片(仅领取) --- [01:07:26 INF] ---开始 购买指定大会员产品(仅领取) --- [01:07:26 INF] ---开始 购买指定会员购商品(仅领取) --- [01:07:26 ERR] 程序发生异常:Object reference not set to an instance of an object. 执行结束... 耗时 26 秒 |
这是来自QQ邮箱的假期自动回复邮件。你好,三天之内会回复
|
{"Code":-401,"Message":"非法访问","Data":null} |
"Code":-401,"Message":"非法访问","Data":null |
这个应该是已知bug,当时写的时候,是扫码活动领取的3天大会员试用,现在没有会员了,抓不了包了🙈 |
我借你一个这样可以修复吗? |
来,我试试 |
这个 bug 我之前提过,可能你没有注意。 |
这个问题是由 cookie 导致的。 可以参考 https://catlair.me/BiliOutils/config/get_value.html#chrome-chromium 这个页面中的编码方式如下: function encodeCookieValue(val: string): string {
return encodeURIComponent(val)
.replace(/%7C/g, '|')
.replace(/%2B/g, '+')
.replace(/%25/g, '%')
.replace(/\*/g, '%2A');
} 关键就在于
|
嗯我记得说过的,但我不确定,这个大会员任务,是不是只要SESSDATA正确就可以正常运行了? 我看你截图里,编码后还是返回了403异常。 |
这是来自QQ邮箱的假期自动回复邮件。你好,三天之内会回复 |
这是来自QQ邮箱的假期自动回复邮件。你好,三天之内会回复
|
大佬又失踪了,可以试试 https://github.com/catlair/BiliOutils |
我发现一个问题:现在大会员的任务我看已经没有了 将代码中的
|
|
很奇怪,注释后还是发生了这样的问题
|
这是来自QQ邮箱的假期自动回复邮件。你好,三天之内会回复
|
我也遇到了这样的问题: 开始执行... 2024-04-01 14:27:30./bili_task_base.sh: line 7: /root/.bashrc: No such file or directory repo目录: /ql/data/repo | _ \ __ _ _ _ | __ ) | ||_ |_ ___ | | [14:27:35 INF] BiliBiliToolPro 开始运行... [14:27:35 INF] 【账号个数】1个 [14:27:35 INF] 【目标任务】VipBigPoint [14:27:35 INF] =====开始 大会员大积分 ===== [14:27:35 INF] 大会员经验领取任务开始 [14:27:53 INF] ------当前任务状态------ [14:27:53 INF] ---开始 签到 --- [14:27:53 INF] ---开始 福利任务 --- [14:27:53 INF] ---开始 体验任务 --- [14:27:53 INF] ---开始 浏览追番频道页10秒 --- [14:27:53 INF] ---开始 浏览会员购页面10秒 --- [14:27:53 INF] ---开始 观看任意正片内容 --- [14:27:53 INF] -----------结束----------- [14:27:53 INF] ---开始 购买单点付费影片(仅领取) --- [14:27:53 INF] ----------------结束---------------- [14:27:53 INF] ---开始 购买指定会员购商品(仅领取) --- [14:27:53 INF] -----------------结束----------------- [14:27:53 ERR] 程序发生异常:Object reference not set to an instance of an object. [14:27:53 WRN] 异常:System.NullReferenceException: Object reference not set to an instance of an object. [14:27:53 INF] 运行结束 执行结束... 2024-04-01 14:27:53 耗时 23 秒大佬有修复吗? |
大佬5个月没上来了,接口是有变更的。最近视频任务也变更了(我刚做完 |
尝试一下从源码构建吧,我直接提交的代码好像没发release,也许有可能有些功能还能使用,如果还不行的话就没辙了。 |
大佬修复了,目前运行正常。 |
昨天升级v2.0.3正常运行,发现今天又异常了: [08:29:13 WRN] 异常:System.NullReferenceException: Object reference not set to an instance of an object. |
现在还有问题吗,或者更多的日志? |
五天前曾经正常过一天,第二天发现又不对了,刚才看了下还是不行: [08:00:31 INF] ------当前任务状态------ |
刚才试着改了下,像是修复成功了,预计明天会发布新版,稍安勿躁~ |
本地调试时修改IVipBigPointApi接口的UserAgent为手机抓包里的UserAgent后,看响应是签到成功了 |
v2.1.0已修复 |
开始执行... 2024-05-17 21:12:52bilitool: 青龙repo目录: /ql/data/repo | _ \ __ _ _ _ | __ ) | ||_ |_ ___ | | [21:13:02 INF] BiliBiliToolPro 开始运行... [21:13:02 INF] 【账号个数】1个 [21:13:02 INF] 【目标任务】VipBigPoint [21:13:02 INF] =====开始 大会员大积分 ===== [21:13:02 INF] ---开始 测试Cookie --- [21:13:37 INF] ------当前任务状态------ [21:13:37 INF] 大会员经验领取任务开始 [21:14:45 INF] ---开始 福利任务 --- [21:14:45 INF] ---开始 体验任务 --- [21:14:45 INF] ---开始 浏览追番频道页10秒 --- [21:15:28 INF] ---开始 浏览会员购页面10秒 --- [21:15:59 INF] ---开始 浏览装扮商城主页 --- [21:16:28 INF] ---开始 观看剧集内容 --- [21:16:38 INF] ---开始 购买单点付费影片(仅领取) --- [21:16:54 INF] ---开始 购买指定会员购商品(仅领取) --- [21:17:12 INF] ------当前任务状态------ [21:17:12 INF] ===========结束=========== [21:17:12 INF] ======================== v2.1.1 开源 by https://github.com/RayWangQvQ/BiliBiliToolPro [21:17:12 INF] ·开始推送·VipBigPoint任务· [21:17:12 INF] 运行结束 执行结束... 2024-05-17 21:17:12 耗时 260 秒大佬请问下:观看剧集内容api变更,暂未实现,这个是正常的吗 |
非常正常,因为相关api我还没搞定(一直摸鱼来着)🤔 |
好的好的,大佬有空的话可以看一下哈,毕竟每天40积分呢哈哈哈 |
版本号:dev
运行环境:青龙2.11.3
问题描述:运行脚本出错
日志信息:图片上有
The text was updated successfully, but these errors were encountered: