qd-today / templates

基于开源新版 QD 框架站发布的公共har模板库,仅供示例
1.05k stars 293 forks source link

B站每日综合签到 评论区 #133

Open gaows20 opened 2 years ago

gaows20 commented 2 years ago

HAR 模板名称

B站每日综合签到

作者信息

嘉然今天吃什么

模板备注及说明

无痕模式/隐私模式打开https://www.bilibili.com/ 登陆后获取cookie填入,然后直接关闭浏览器 每个操作都会相隔10秒。耐心等待, 请不要重复点击测试! 包含主站登陆经验+5, 视频观看经验+5, 视频分享经验+5, 直播签到, B漫签到, 带日志

HAR 文件名

B站每日综合签到.har

HAR 模板内容

[
    {
        "request": {
            "method": "GET",
            "url": "https://api.bilibili.com/x/web-interface/dynamic/region?pn=3&ps=12&rid=129",
            "headers": [
                {
                    "name": "Host",
                    "value": "api.bilibili.com"
                },
                {
                    "name": "Connection",
                    "value": "keep-alive"
                },
                {
                    "name": "Accept",
                    "value": "application/json, text/plain, */*"
                },
                {
                    "name": "User-Agent",
                    "value": "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36"
                },
                {
                    "name": "Origin",
                    "value": "https://www.bilibili.com"
                },
                {
                    "name": "Sec-Fetch-Site",
                    "value": "same-site"
                },
                {
                    "name": "Sec-Fetch-Mode",
                    "value": "cors"
                },
                {
                    "name": "Sec-Fetch-Dest",
                    "value": "empty"
                },
                {
                    "name": "Referer",
                    "value": "https://www.bilibili.com/"
                },
                {
                    "name": "Accept-Encoding",
                    "value": "gzip, deflate, br"
                },
                {
                    "name": "Accept-Language",
                    "value": "zh-CN,zh;q=0.9"
                }
            ],
            "cookies": []
        },
        "rule": {
            "success_asserts": [
                {
                    "re": "200",
                    "from": "status"
                },
                {
                    "re": "https://b23.tv/",
                    "from": "content"
                }
            ],
            "failed_asserts": [],
            "extract_variables": [
                {
                    "name": "BV",
                    "re": "(BV[A-Za-z0-9]{10})",
                    "from": "content"
                }
            ]
        }
    },
    {
        "request": {
            "method": "GET",
            "url": "https://www.bilibili.com/",
            "headers": [
                {
                    "name": "Connection",
                    "value": "keep-alive"
                },
                {
                    "name": "Cache-Control",
                    "value": "max-age=0"
                },
                {
                    "name": "Upgrade-Insecure-Requests",
                    "value": "1"
                },
                {
                    "name": "User-Agent",
                    "value": "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36"
                },
                {
                    "name": "Accept",
                    "value": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9"
                },
                {
                    "name": "Sec-Fetch-Site",
                    "value": "same-site"
                },
                {
                    "name": "Sec-Fetch-Mode",
                    "value": "navigate"
                },
                {
                    "name": "Sec-Fetch-User",
                    "value": "?1"
                },
                {
                    "name": "Sec-Fetch-Dest",
                    "value": "document"
                },
                {
                    "name": "Accept-Encoding",
                    "value": "gzip, deflate, br"
                },
                {
                    "name": "Accept-Language",
                    "value": "zh-CN,zh;q=0.9"
                },
                {
                    "name": "Cookie",
                    "value": "{{cookie}}"
                }
            ],
            "cookies": []
        },
        "rule": {
            "success_asserts": [
                {
                    "re": "200",
                    "from": "status"
                }
            ],
            "failed_asserts": [],
            "extract_variables": []
        }
    },
    {
        "request": {
            "method": "GET",
            "url": "api://util/delay/10",
            "headers": [],
            "cookies": []
        },
        "rule": {
            "success_asserts": [
                {
                    "re": "200",
                    "from": "status"
                }
            ],
            "failed_asserts": [],
            "extract_variables": []
        }
    },
    {
        "request": {
            "method": "GET",
            "url": "api://util/regex?p=bili_jct%3D(.*%3F)%3B&data={{cookie|urlencode}}",
            "headers": [],
            "cookies": []
        },
        "rule": {
            "success_asserts": [
                {
                    "re": "200",
                    "from": "status"
                },
                {
                    "re": "\"状态\": \"OK\"",
                    "from": "content"
                }
            ],
            "failed_asserts": [],
            "extract_variables": [
                {
                    "name": "bili_jct",
                    "re": "\"1\": \"(.*)\"",
                    "from": "content"
                }
            ]
        }
    },
    {
        "request": {
            "method": "POST",
            "url": "https://api.bilibili.com/x/web-interface/share/add",
            "headers": [
                {
                    "name": "Connection",
                    "value": "keep-alive"
                },
                {
                    "name": "Accept",
                    "value": "application/json, text/plain, */*"
                },
                {
                    "name": "User-Agent",
                    "value": "CFNetwork/1220.1 Darwin/20.3.0 os/ios model/iPhone XS Max mobi_app/iphone  osVer/14.4.2 network/2 channel/AppStore"
                },
                {
                    "name": "Content-Type",
                    "value": "application/x-www-form-urlencoded"
                },
                {
                    "name": "Sec-Fetch-Mode",
                    "value": "cors"
                },
                {
                    "name": "Sec-Fetch-Dest",
                    "value": "empty"
                },
                {
                    "name": "Accept-Encoding",
                    "value": "gzip, deflate, br"
                },
                {
                    "name": "Accept-Language",
                    "value": "zh-CN,zh;q=0.9"
                },
                {
                    "name": "Cookie",
                    "value": "{{cookie}}"
                }
            ],
            "cookies": [],
            "data": "bvid={{BV}}&csrf={{bili_jct}}",
            "mimeType": "application/x-www-form-urlencoded"
        },
        "rule": {
            "success_asserts": [
                {
                    "re": "200",
                    "from": "status"
                }
            ],
            "failed_asserts": [],
            "extract_variables": []
        }
    },
    {
        "request": {
            "method": "GET",
            "url": "api://util/delay/10",
            "headers": [],
            "cookies": []
        },
        "rule": {
            "success_asserts": [
                {
                    "re": "200",
                    "from": "status"
                }
            ],
            "failed_asserts": [],
            "extract_variables": []
        }
    },
    {
        "request": {
            "method": "POST",
            "url": "https://api.bilibili.com/x/click-interface/web/heartbeat",
            "headers": [
                {
                    "name": "Connection",
                    "value": "keep-alive"
                },
                {
                    "name": "Accept",
                    "value": "application/json, text/plain, */*"
                },
                {
                    "name": "User-Agent",
                    "value": "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36"
                },
                {
                    "name": "Content-Type",
                    "value": "application/x-www-form-urlencoded"
                },
                {
                    "name": "Sec-Fetch-Mode",
                    "value": "cors"
                },
                {
                    "name": "Sec-Fetch-Dest",
                    "value": "empty"
                },
                {
                    "name": "Accept-Encoding",
                    "value": "gzip, deflate, br"
                },
                {
                    "name": "Accept-Language",
                    "value": "zh-CN,zh;q=0.9"
                },
                {
                    "name": "Cookie",
                    "value": "{{cookie}}"
                }
            ],
            "cookies": [],
            "data": "bvid={{BV}}&csrf={{bili_jct}}&played_time=2",
            "mimeType": "application/x-www-form-urlencoded"
        },
        "rule": {
            "success_asserts": [
                {
                    "re": "200",
                    "from": "status"
                }
            ],
            "failed_asserts": [],
            "extract_variables": []
        }
    },
    {
        "request": {
            "method": "GET",
            "url": "api://util/delay/10",
            "headers": [],
            "cookies": []
        },
        "rule": {
            "success_asserts": [
                {
                    "re": "200",
                    "from": "status"
                }
            ],
            "failed_asserts": [],
            "extract_variables": []
        }
    },
    {
        "request": {
            "method": "GET",
            "url": "https://api.live.bilibili.com/xlive/web-ucenter/v1/sign/DoSign",
            "headers": [
                {
                    "name": "Connection",
                    "value": "keep-alive"
                },
                {
                    "name": "Accept",
                    "value": "application/json, text/plain, */*"
                },
                {
                    "name": "User-Agent",
                    "value": "CFNetwork/1220.1 Darwin/20.3.0 os/ios model/iPhone XS Max mobi_app/iphone  osVer/14.4.2 network/2 channel/AppStore"
                },
                {
                    "name": "Content-Type",
                    "value": "application/x-www-form-urlencoded"
                },
                {
                    "name": "Sec-Fetch-Mode",
                    "value": "cors"
                },
                {
                    "name": "Sec-Fetch-Dest",
                    "value": "empty"
                },
                {
                    "name": "Accept-Encoding",
                    "value": "gzip, deflate, br"
                },
                {
                    "name": "Accept-Language",
                    "value": "zh-CN,zh;q=0.9"
                },
                {
                    "name": "Cookie",
                    "value": "{{cookie}}"
                }
            ],
            "cookies": []
        },
        "rule": {
            "success_asserts": [
                {
                    "re": "200",
                    "from": "status"
                }
            ],
            "failed_asserts": [],
            "extract_variables": []
        }
    },
    {
        "request": {
            "method": "GET",
            "url": "api://util/delay/10",
            "headers": [],
            "cookies": []
        },
        "rule": {
            "success_asserts": [
                {
                    "re": "200",
                    "from": "status"
                }
            ],
            "failed_asserts": [],
            "extract_variables": []
        }
    },
    {
        "request": {
            "method": "POST",
            "url": "https://manga.bilibili.com/twirp/activity.v1.Activity/ClockIn",
            "headers": [
                {
                    "name": "Connection",
                    "value": "keep-alive"
                },
                {
                    "name": "Accept",
                    "value": "application/json, text/plain, */*"
                },
                {
                    "name": "User-Agent",
                    "value": "CFNetwork/1220.1 Darwin/20.3.0 os/ios model/iPhone XS Max mobi_app/iphone  osVer/14.4.2 network/2 channel/AppStore"
                },
                {
                    "name": "Content-Type",
                    "value": "application/x-www-form-urlencoded"
                },
                {
                    "name": "Sec-Fetch-Mode",
                    "value": "cors"
                },
                {
                    "name": "Sec-Fetch-Dest",
                    "value": "empty"
                },
                {
                    "name": "Accept-Encoding",
                    "value": "gzip, deflate, br"
                },
                {
                    "name": "Accept-Language",
                    "value": "zh-CN,zh;q=0.9"
                },
                {
                    "name": "Cookie",
                    "value": "{{cookie}}"
                }
            ],
            "cookies": [],
            "data": "platform=ios",
            "mimeType": "application/x-www-form-urlencoded"
        },
        "rule": {
            "success_asserts": [
                {
                    "re": "200",
                    "from": "status"
                },
                {
                    "re": "clockin clockin is duplicate",
                    "from": "content"
                }
            ],
            "failed_asserts": [],
            "extract_variables": []
        }
    },
    {
        "request": {
            "method": "GET",
            "url": "api://util/delay/10",
            "headers": [],
            "cookies": []
        },
        "rule": {
            "success_asserts": [
                {
                    "re": "200",
                    "from": "status"
                }
            ],
            "failed_asserts": [],
            "extract_variables": []
        }
    },
    {
        "request": {
            "method": "GET",
            "url": "https://api.bilibili.com/x/web-interface/nav",
            "headers": [
                {
                    "name": "Connection",
                    "value": "keep-alive"
                },
                {
                    "name": "Accept",
                    "value": "application/json, text/plain, */*"
                },
                {
                    "name": "User-Agent",
                    "value": "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36"
                },
                {
                    "name": "Origin",
                    "value": "https://account.bilibili.com"
                },
                {
                    "name": "Sec-Fetch-Site",
                    "value": "same-site"
                },
                {
                    "name": "Sec-Fetch-Mode",
                    "value": "cors"
                },
                {
                    "name": "Sec-Fetch-Dest",
                    "value": "empty"
                },
                {
                    "name": "Accept-Encoding",
                    "value": "gzip, deflate, br"
                },
                {
                    "name": "Accept-Language",
                    "value": "zh-CN,zh;q=0.9"
                },
                {
                    "name": "Cookie",
                    "value": "{{cookie}}"
                }
            ],
            "cookies": []
        },
        "rule": {
            "success_asserts": [
                {
                    "re": "200",
                    "from": "status"
                }
            ],
            "failed_asserts": [],
            "extract_variables": [
                {
                    "name": "level",
                    "re": "\"current_level\":(.*?),\"",
                    "from": "content"
                },
                {
                    "name": "coin",
                    "re": "\"money\":(.*?),\"",
                    "from": "content"
                },
                {
                    "name": "uid",
                    "re": "\"mid\":(.*?),\"",
                    "from": "content"
                },
                {
                    "name": "exp",
                    "re": "\"current_exp\":(.*?),",
                    "from": "content"
                },
                {
                    "name": "uname",
                    "re": "uname\":\"(.*?)\",",
                    "from": "content"
                }
            ]
        }
    },
    {
        "request": {
            "method": "GET",
            "url": "api://util/delay/10",
            "headers": [],
            "cookies": []
        },
        "rule": {
            "success_asserts": [
                {
                    "re": "200",
                    "from": "status"
                }
            ],
            "failed_asserts": [],
            "extract_variables": []
        }
    },
    {
        "request": {
            "method": "POST",
            "url": "https://manga.bilibili.com/twirp/user.v1.User/GetCoupons",
            "headers": [
                {
                    "name": "Host",
                    "value": "manga.bilibili.com"
                },
                {
                    "name": "Connection",
                    "value": "keep-alive"
                },
                {
                    "name": "Content-Length",
                    "value": "66"
                },
                {
                    "name": "User-Agent",
                    "value": "comic-universal/1303 CFNetwork/1220.1 Darwin/20.3.0 os/ios model/iPhone XS Max mobi_app/iphone_comic build/1303 osVer/14.4.2 network/2 channel/AppStore"
                },
                {
                    "name": "Content-Type",
                    "value": "application/json; charset=utf-8"
                },
                {
                    "name": "Origin",
                    "value": "manga.bilibili.com"
                },
                {
                    "name": "Accept-Encoding",
                    "value": "gzip, deflate"
                },
                {
                    "name": "Cookie",
                    "value": "{{cookie}}"
                }
            ],
            "cookies": [],
            "data": "{\"notExpired\":true,\"pageNum\":1,\"pageSize\":20,\"tabType\":1,\"type\":0}",
            "mimeType": "application/json; charset=utf-8"
        },
        "rule": {
            "success_asserts": [
                {
                    "re": "200",
                    "from": "status"
                }
            ],
            "failed_asserts": [],
            "extract_variables": [
                {
                    "name": "manga",
                    "re": "\"total_remain_amount\":(.*?),",
                    "from": "content"
                }
            ]
        }
    },
    {
        "request": {
            "method": "GET",
            "url": "api://util/string/replace?r=text&p=&s={{uname|urlencode}}%5B{{uid|urlencode}}%5D%20%E2%97%86%20%E7%AD%89%E7%BA%A7{{level|urlencode}}%20%E7%BB%8F%E9%AA%8C{{exp|urlencode}}%20%E2%97%86%20%E7%A1%AC%E5%B8%81{{coin|urlencode}}%E4%B8%AA%20%E6%BC%AB%E8%AF%BB%E5%88%B8{{manga|urlencode}}%E5%BC%A0&t=",
            "headers": [],
            "cookies": []
        },
        "rule": {
            "success_asserts": [
                {
                    "re": "200",
                    "from": "status"
                }
            ],
            "failed_asserts": [],
            "extract_variables": [
                {
                    "name": "__log__",
                    "re": "(.*)",
                    "from": "content"
                }
            ]
        }
    }
]

其他信息

暂无

goodboykiki commented 1 year ago

解决了,换新版框架。

发送自我的盖乐世

-------- 原始信息 -------- 发件人: Domako @.> 日期: 2023/2/27 12:32 (GMT+08:00) 收件人: qiandao-today/templates @.> 抄送: goodboykiki @.>, Comment @.> 主题: Re: [qiandao-today/templates] B站每日综合签到 评论区 (Issue #133)

11/16 请求失败, 断言失败:{"re": "clockin clockin is duplicate", "from": "content"} 来自 success_asserts, 响应错误:HTTP 400:错误请求, 请求 URL:https://manga .bilibili.com/twirp/activity.v1.Activity/ClockInhttps://jpn01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmanga.bilibili.com%2Ftwirp%2Factivity.v1.Activity%2FClockIn&data=05%7C01%7C%7Cc061bbd890b34389c8d608db187bb29e%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638130691783202267%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=UaOJ36jn5lGE0QUHQIjwe64k2nlWRWv3q%2FSjDsVDVwc%3D&reserved=0 经常报这个错误是什么原因?

我复现了该错误,原因不明,在重新获取cookie后恢复 查看响应中有set-cookie,但是软件并没有刷新cookie 是否应该添加cookie刷新功能

― Reply to this email directly, view it on GitHubhttps://jpn01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fqiandao-today%2Ftemplates%2Fissues%2F133%23issuecomment-1445691615&data=05%7C01%7C%7Cc061bbd890b34389c8d608db187bb29e%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638130691783202267%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=VAzYz2ZJ23Ip22Ncf8rxfMj%2BnhIJSE7n1GEeK799A4I%3D&reserved=0, or unsubscribehttps://jpn01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAYZCBBIZQ5ICXBDEFSG74U3WZQU7PANCNFSM5KA4DXVQ&data=05%7C01%7C%7Cc061bbd890b34389c8d608db187bb29e%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638130691783202267%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=kHt6pkiddc4AnX%2BqdSkeXAE6FyhaGInhcA9WwZDqBjc%3D&reserved=0. You are receiving this because you commented.Message ID: @.***>

goodboykiki commented 1 year ago

那就奇怪,我用最新框架,然后去B站手动退登,然后再登录,再获取cookie添加进去,现在连续签了3天了没报错。

发送自我的盖乐世

-------- 原始信息 -------- 发件人: huasheng666 @.> 日期: 2023/3/1 15:28 (GMT+08:00) 收件人: qiandao-today/templates @.> 抄送: goodboykiki @.>, Comment @.> 主题: Re: [qiandao-today/templates] B站每日综合签到 评论区 (Issue #133)

11/16 请求失败, 断言失败:{"re": "clockin clockin is duplicate", "from": "content"} 来自 success_asserts, 响应错误:HTTP 400:错误请求, 请求 URL:https://manga .bilibili.com/twirp/activity.v1.Activity/ClockInhttps://jpn01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmanga.bilibili.com%2Ftwirp%2Factivity.v1.Activity%2FClockIn&data=05%7C01%7C%7C4063d99296a146ee2af308db1a2689d5%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638132525085069205%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=JkPzBTY8FYUXJO10MD7Suk6ZiCBQQWw6zbN%2B5xS5eVg%3D&reserved=0 经常报这个错误是什么原因?

我也遇到了该错误,原因不明,虽然在11步才报错,但因为之前的请求失败判断不准确,所以其实前面的签到也全部失败了 在重新获取cookie后恢复,查看响应中有set-cookie,但是软件并没有刷新cookie 是否应该添加cookie刷新功能

最新架构遇到同样错误,更新了cookie能成功,但是第二天就失败显示这个报错~

― Reply to this email directly, view it on GitHubhttps://jpn01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fqiandao-today%2Ftemplates%2Fissues%2F133%23issuecomment-1449480880&data=05%7C01%7C%7C4063d99296a146ee2af308db1a2689d5%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638132525085069205%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=PbfdGFb8dVwju9N%2Fp6uTMQLlNmJTlfOguPmXaduEVNk%3D&reserved=0, or unsubscribehttps://jpn01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAYZCBBK3LCWC3UX3EE3ZJCDWZ33BNANCNFSM5KA4DXVQ&data=05%7C01%7C%7C4063d99296a146ee2af308db1a2689d5%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638132525085069205%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=2Da1tjhI%2BtF3WSByl8tacBVvGHBGCVC56RAkSr8i0iU%3D&reserved=0. You are receiving this because you commented.Message ID: @.***>

stkroot commented 1 year ago

Failed at 11/16 request, Fail assert: {"re": "clockin clockin is duplicate", "from": "content"} from success_asserts, Response Error : HTTP 400: Bad Request, Request URL: https://manga.bilibili.com/twirp/activity.v1.Activity/ClockIn

leic4u commented 1 year ago

用的最新版 20230228 框架(上周刚拉的镜像,部署的容器),从公共模板里订阅的作者为 嘉然今天吃什么 的 B站每日综合签到 ,签了三天,第四天就报这个错。

日志:Failed at 11/16 request, 
Fail assert: {"re": "clockin clockin is duplicate", "from": "content"} from success_asserts, 
Response Error : HTTP 400: Bad Request, 
Request URL: https://manga.bilibili.com/twirp/activity.v1.Activity/ClockIn 

尝试以下三种方式,均报以上错误: 1、今天重新用F12抓了cookie,修改原任务的cookie。 2、通过我的模板新建一个任务。 3、通过重新订阅公共模板,通过新的模板新建一个任务。

一个月前在另外一台服务器上也是以上问题,后来就禁用没签它了。 上周重新部署的容器,可以正常签到。没想到也是只签了三天。

手动执行报这个错: <html> <head><title>504 Gateway Time-out</title></head> <body> <center><h1>504 Gateway Time-out</h1></center> <hr><center>nginx/1.23.3</center> </body> </html> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page -->

DFP86 commented 1 year ago

我现在成功很多天了。

我怀疑是不是因为识别为新设备会强制cookie有效期,我每天失败都输入新cookie,输了几天,就可以一直签到了...

就像微信PC客户端,扫码登录一开始并没有给 自动登录 的选项,但登录几天之后就有这个选项可以长期自动登录了,一旦卸载了或者重装客户端,又没有自动登录选项,要登录多几天才有。

goodboykiki commented 1 year ago

我现在成功很多天了。

我怀疑是不是因为识别为新设备会强制cookie有效期,我每天失败都输入新cookie,输了几天,就可以一直签到了...

就像微信PC客户端,扫码登录一开始并没有给 自动登录 的选项,但登录几天之后就有这个选项可以长期自动登录了,一旦卸载了或者重装客户端,又没有自动登录选项,要登录多几天才有。

你这样一说,我怀疑还真是,每次我在B站退出然后再登录,然后把这个cookie弄到签到后,就成功一次。然后第二天又失败了。但是我电脑的浏览器打开B站就一直是登录状态的。看来就是把签到识别成新设备,必须每次手动登录一次才行。

ddd-zero commented 1 year ago

我现在成功很多天了。 我怀疑是不是因为识别为新设备会强制cookie有效期,我每天失败都输入新cookie,输了几天,就可以一直签到了... 就像微信PC客户端,扫码登录一开始并没有给 自动登录 的选项,但登录几天之后就有这个选项可以长期自动登录了,一旦卸载了或者重装客户端,又没有自动登录选项,要登录多几天才有。

你这样一说,我怀疑还真是,每次我在B站退出然后再登录,然后把这个cookie弄到签到后,就成功一次。然后第二天又失败了。但是我电脑的浏览器打开B站就一直是登录状态的。看来就是把签到识别成新设备,必须每次手动登录一次才行。

SESSDATA参数过期

coderzhw commented 1 year ago

我现在成功很多天了。 我怀疑是不是因为识别为新设备会强制cookie有效期,我每天失败都输入新cookie,输了几天,就可以一直签到了... 就像微信PC客户端,扫码登录一开始并没有给 自动登录 的选项,但登录几天之后就有这个选项可以长期自动登录了,一旦卸载了或者重装客户端,又没有自动登录选项,要登录多几天才有。

你这样一说,我怀疑还真是,每次我在B站退出然后再登录,然后把这个cookie弄到签到后,就成功一次。然后第二天又失败了。但是我电脑的浏览器打开B站就一直是登录状态的。看来就是把签到识别成新设备,必须每次手动登录一次才行。

SESSDATA参数过期

请问具体怎么解决这个问题呢?

ddd-zero commented 1 year ago

我现在成功很多天了。 我怀疑是不是因为识别为新设备会强制cookie有效期,我每天失败都输入新cookie,输了几天,就可以一直签到了... 就像微信PC客户端,扫码登录一开始并没有给 自动登录 的选项,但登录几天之后就有这个选项可以长期自动登录了,一旦卸载了或者重装客户端,又没有自动登录选项,要登录多几天才有。

你这样一说,我怀疑还真是,每次我在B站退出然后再登录,然后把这个cookie弄到签到后,就成功一次。然后第二天又失败了。但是我电脑的浏览器打开B站就一直是登录状态的。看来就是把签到识别成新设备,必须每次手动登录一次才行。

SESSDATA参数过期

请问具体怎么解决这个问题呢?

目前在网上看到的一个解决办法是,打开浏览器的隐私模式,然后登陆,获取cookie,直接关闭,这样的cookie里SESSDATA参数能维持半年。具体我还在测试,目前只测试了3天。你也可以试试。

voodooTTC commented 1 year ago

我现在成功了很多天了。 我怀疑不是因为知道别为新设备会强制cookie有有效期,我每天都输进去新cookie,输了几天,就可以一直签到...就像微信PC客户端, 扫密码登录一开始并没有给自动登录的选项,但是登录几天之后就有这个选项可以长期自动登录了,一登载了或者重了装客端,又没有自动登录选项,要登录几天才有。

你这样说,我怀疑还是真的,每次我在B站退出然后重新登录,然后把这个cookie弄到签到后,就成功了一次。然后第二天又失败了。但是是我电脑的浏览器打开B站就一直是登录状态的。看来就是签到识别新设备,必须每次手动登录一次才行。

SESSDATA参过期

请询问工具如何解决这个问题呢?

目前在网上看到的一个解决办法是,打开浏览器的隐私模式,然后登陆,获取cookie,直接关闭,这样的cookie里SESSDATA参数维保持半年。具体我还在测试,目前只测试了3天。你也可以试试。

请问Google Chrome浏览器的隐私模式就是指的无痕模式?

feng1213 commented 1 year ago

Failed at 11/16 request, Fail assert: {"re": "clockin clockin is duplicate", "from": "content"} from success_asserts, Response Error : HTTP 400: Bad Request, Request URL: https://manga.bilibili.com/twirp/activity.v1.Activity/ClockIn

只要我使用浏览器浏览B站,然后自动签到就会失败,报这个错。。重新获取cookie,贴进去就正常。。其中并没有退出重新登录。

ddd-zero commented 1 year ago

Failed at 11/16 request, Fail assert: {"re": "clockin clockin is duplicate", "from": "content"} from success_asserts, Response Error : HTTP 400: Bad Request, Request URL: https://manga.bilibili.com/twirp/activity.v1.Activity/ClockIn

只要我使用浏览器浏览B站,然后自动签到就会失败,报这个错。。重新获取cookie,贴进去就正常。。其中并没有退出重新登录。

我这边测试10天没问题。可以试一下新本,写了一些操作指南。 也可以到 https://i.qiandao.day/ 公共站测试

无痕模式/隐私模式打开https://www.bilibili.com/
登陆后获取cookie填入,然后直接关闭浏览器
每个操作都会相隔10秒。耐心等待, 请不要重复点击测试!
包含主站登陆经验+5, 视频观看经验+5, 视频分享经验+5, 直播签到, B漫签到, 带日志
a76yyyy commented 1 year ago

Failed at 11/16 request, Fail assert: {"re": "clockin clockin is duplicate", "from": "content"}

这个报错不是显示签到重复么?是不是签了两次导致的?

leic4u commented 1 year ago

Failed at 11/16 request, Fail assert: {"re": "clockin clockin is duplicate", "from": "content"}

这个报错不是显示签到重复么?是不是签了两次导致的?

应该不是,实际上是没有签到成功的,前三天是正常的,第四天开始的首次运行就会出现这个问题。 现在用了前天更新的新版 B 站签到了,等个三天看看会不会出现以前的问题,感谢脚本开发者嘉然和项目维护者a76y。

NOwin111 commented 1 year ago

QQ截图20230908124705 昨天还没问题

leic4u commented 1 year ago

QQ截图20230908124705 昨天还没问题

时间 状态 日志
2023-9-9 0:15:30 成功 XXX[1155XXXXX] ◆ 等级4 经验4503 ◆ 硬币458个 漫读券0张
2023-9-8 0:11:32 成功 XXX[1155XXXXX] ◆ 等级3 经验4488 ◆ 硬币457个 漫读券0张
2023-9-7 0:02:49 成功 XXX[1155XXXXX] ◆ 等级3 经验4473 ◆ 硬币456个 漫读券0张

我这同期还是正常的,没有发生问题。新建一个签到任务,看看能成功不。

MetaSquared commented 11 months ago

我也是一直 https://manga.bilibili.com/twirp/activity.v1.Activity/ClockIn 这个出问题

hecarli555 commented 10 months ago

我也是一直 https://manga.bilibili.com/twirp/activity.v1.Activity/ClockIn 这个出问题

试试重新抓ck

hecarli555 commented 9 months ago

最近总是没几天就掉ck,望大佬更新

rainbowxx2020 commented 9 months ago

怎么不能用了啊

leic4u commented 9 months ago

最近总是没几天就掉ck,望大佬更新

按照本签到模板的教程抓 cookie,不会几天就掉的。

hecarli555 commented 9 months ago

ck每10天就掉一次,是什么回事啊???求更新模板

x2287711259 commented 8 months ago

从2月18日开始签到不成功了

kai456789 commented 8 months ago

出現問題 無法簽到 2024-03-04 14:04:21 日志:Failed at 11/16 request, Fail assert: {"re": "clockin clockin is duplicate", "from": "content"} from success_asserts, Response Error : HTTP 400: Bad Request, Request URL: https://manga.bilibili.com/twirp/activity.v1.Activity/ClockIn

hmy1210 commented 7 months ago
2024-3-27 12:47:06 | 失败 | Failed at 11/16 request,Fail assert: {"re": "clockin clockin is duplicate", "from": "content"} from success_asserts,Response Error : HTTP 400: Bad Request,Request URL: https://manga.bilibili.com/twirp/activity.v1.Activity/ClockIn -- | -- | -- 2024-3-26 12:46:24 | 成功 | ◆ 等级4 经验9785 ◆ 硬币1322个 漫读券0张 2024-3-25 12:45:23 | 成功 | ◆ 等级4 经验9770 ◆ 硬币1321个 漫读券0张

成功了两天 然后又失败了

moexizer commented 5 months ago

Fail assert: {"re": "clockin clockin is duplicate", "from": "content"} from success_asserts, Response Error : HTTP 400: Bad Request, Request URL: https://manga.bilibili.com/twirp/activity.v1.Activity/ClockIn

leic4u commented 5 months ago

Fail assert: {"re": "clockin clockin is duplicate", "from": "content"} from success_asserts, Response Error : HTTP 400: Bad Request, Request URL: https://manga.bilibili.com/twirp/activity.v1.Activity/ClockIn

无痕模式重新抓 cookie 试试。

u2shana commented 4 months ago

能否加入自定义投币数量的功能。1个币10经验每天上限50,还是很可观的

JoelerJoel commented 2 months ago

连着签到成功160+天突然断了,最近的错误提示都是: 2024-08-13 23:49:48 日志:Failed at 11/16 request, Fail assert: {"re": "clockin clockin is duplicate", "from": "content"} from success_asserts, Response Error : HTTP 400: Bad Request, Request URL: https://manga.bilibili.com/twirp/activity.v1.Activity/ClockIn