qd-today / templates

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

哔咔漫画 评论区 #473

Open chen8945 opened 10 months ago

chen8945 commented 10 months ago

HAR 模板名称

哔咔漫画

作者信息

chen8945

模板备注及说明

账号 + 密码 https://pica2023.com/

HAR 文件名

哔咔漫画.har

其他信息

暂无

HAR 模板内容

[{"comment":"Unicode转换","request":{"method":"POST","url":"api://util/unicode","headers":[],"cookies":[],"data":"html_unescape=false&content=\nnonce: {{to_uuid(random(0,100,6))}}\nsign_in: auth/sign-in\npunch_in: users/punch-in\nusers_profile: users/profile\napi_key: C69BAF41DA5ABD1FFEDC6D2FEA56B\napi_secret: ~d}$Q7$eIni=V)9\\\\RK/P.RM4;9[7|@/CA}b~OW!3?EV`:<>M7pddUBL5n|0/*Cn"},"rule":{"success_asserts":[{"re":"200","from":"status"},{"re":"\"状态\": \"200\"","from":"content"}],"failed_asserts":[],"extract_variables":[{"name":"nonce","re":"nonce: (.+?)\\\\n","from":"content"},{"name":"sign_in","re":"sign_in: (.+?)\\\\n","from":"content"},{"name":"punch_in","re":"punch_in: (.+?)\\\\n","from":"content"},{"name":"users_profile","re":"users_profile: (.+?)\\\\n","from":"content"},{"name":"api_key","re":"api_key: (.+?)\\\\n","from":"content"},{"name":"api_secret","re":"api_secret: (.+?)\",","from":"content"}]}},{"comment":"字符串替换","request":{"method":"POST","url":"api://util/string/replace","headers":[],"cookies":[],"data":"r=json&p=-&s={{nonce}}&t="},"rule":{"success_asserts":[{"re":"200","from":"status"},{"re":"\"状态\": \"OK\"","from":"content"}],"failed_asserts":[],"extract_variables":[{"name":"nonce","re":"\"处理后字符串\": \"(.*)\"","from":"content"}]}},{"comment":"返回对应时间戳和时间","request":{"method":"POST","url":"api://util/timestamp","headers":[],"cookies":[],"data":"ts=&form=&dt="},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"time","re":"\"时间戳\": (\\d+)","from":"content"}]}},{"request":{"method":"GET","url":"https://www.devglan.com/online-tools/hmac-sha256-online","headers":[{"name":"Host","value":"www.devglan.com"},{"name":"User-Agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5410.0 Safari/537.36"}],"cookies":[],"data":""},"rule":{"success_asserts":[{"re":"200","from":"status"},{"re":"302","from":"status"}],"failed_asserts":[],"extract_variables":[]}},{"request":{"method":"POST","url":"https://www.devglan.com/online-tools/hmac-sha256-online","headers":[{"name":"Content-Type","value":"application/json;charset=UTF-8"}],"cookies":[],"data":"{\"inputString\":\"{{sign_in}}{{time}}{{nonce}}post{{api_key|lower}}\",\"secretKey\":\"{{api_secret}}\",\"algo\":\"SHA-256\",\"outputFormat\":\"text\"}","mimeType":"application/x-www-form-urlencoded; charset=UTF-8"},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"signature","re":"\"outputString\":\"(.+?)\",","from":"content"}]}},{"request":{"method":"POST","url":"https://picaapi.picacomic.com/auth/sign-in","headers":[{"name":"api-key","value":"{{api_key}}"},{"name":"accept","value":"application/vnd.picacomic.com.v1+json"},{"name":"app-channel","value":"1"},{"name":"time","value":"{{time}}"},{"name":"nonce","value":"{{nonce}}"},{"name":"app-version","value":"2.2.1.3.3.4"},{"name":"app-uuid","value":"defaultUuid"},{"name":"image-quality","value":"original"},{"name":"app-platform","value":"android"},{"name":"app-build-version","value":"45"},{"name":"User-Agent","value":"okhttp/3.8.1"},{"name":"Content-Type","value":"application/json; charset=UTF-8"},{"name":"signature","value":"{{signature|lower}}"}],"cookies":[],"data":"{\"email\": \"{{username}}\",\"password\": \"{{password}}\"}","mimeType":"application/json"},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"token","re":"\"token\": \"(.+)\"","from":"content"}]}},{"comment":"","request":{"method":"POST","url":"https://www.devglan.com/online-tools/hmac-sha256-online","headers":[{"name":"Content-Type","value":"application/json;charset=UTF-8"}],"cookies":[],"data":"{\"inputString\":\"{{punch_in}}{{time}}{{nonce}}post{{api_key|lower}}\",\"secretKey\":\"{{api_secret}}\",\"algo\":\"SHA-256\",\"outputFormat\":\"text\"}","mimeType":"application/x-www-form-urlencoded; charset=UTF-8"},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"signature","re":"\"outputString\":\"(.+?)\",","from":"content"}]}},{"comment":"","request":{"method":"POST","url":"https://picaapi.picacomic.com/users/punch-in","headers":[{"name":"api-key","value":"{{api_key}}"},{"name":"accept","value":"application/vnd.picacomic.com.v1+json"},{"name":"app-channel","value":"1"},{"name":"time","value":"{{time}}"},{"name":"nonce","value":"{{nonce}}"},{"name":"app-version","value":"2.2.1.3.3.4"},{"name":"app-uuid","value":"defaultUuid"},{"name":"image-quality","value":"original"},{"name":"app-platform","value":"android"},{"name":"app-build-version","value":"45"},{"name":"User-Agent","value":"okhttp/3.8.1"},{"name":"Content-Type","value":"application/json; charset=UTF-8"},{"name":"signature","value":"{{signature|lower}}"},{"name":"authorization","value":"{{token}}"}],"cookies":[],"data":"","mimeType":"application/json"},"rule":{"success_asserts":[{"re":"200","from":"status"},{"re":"\"status\": \"ok\"","from":"content"}],"failed_asserts":[],"extract_variables":[{"name":"day","re":"\"punchInLastDay\": \"(.+)\"","from":"content"},{"name":"status","re":"\"status\": \"(.+)\"","from":"content"}]}},{"comment":"","request":{"method":"POST","url":"https://www.devglan.com/online-tools/hmac-sha256-online","headers":[{"name":"Content-Type","value":"application/json;charset=UTF-8"}],"cookies":[],"data":"{\"inputString\":\"{{users_profile}}{{time}}{{nonce}}get{{api_key|lower}}\",\"secretKey\":\"{{api_secret}}\",\"algo\":\"SHA-256\",\"outputFormat\":\"text\"}","mimeType":"application/x-www-form-urlencoded; charset=UTF-8"},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"signature","re":"\"outputString\":\"(.+?)\",","from":"content"}]}},{"comment":"","request":{"method":"GET","url":"https://picaapi.picacomic.com/users/profile","headers":[{"name":"api-key","value":"{{api_key}}"},{"name":"accept","value":"application/vnd.picacomic.com.v1+json"},{"name":"app-channel","value":"1"},{"name":"time","value":"{{time}}"},{"name":"nonce","value":"{{nonce}}"},{"name":"app-version","value":"2.2.1.3.3.4"},{"name":"app-uuid","value":"defaultUuid"},{"name":"image-quality","value":"original"},{"name":"app-platform","value":"android"},{"name":"app-build-version","value":"45"},{"name":"User-Agent","value":"okhttp/3.8.1"},{"name":"Content-Type","value":"application/json; charset=UTF-8"},{"name":"signature","value":"{{signature|lower}}"},{"name":"authorization","value":"{{token}}"}],"cookies":[],"data":"","mimeType":"application/json"},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"name","re":"\"name\": \"(.+)\"","from":"content"},{"name":"title","re":"\"title\": \"(.+)\"","from":"content"},{"name":"exp","re":"\"exp\": (\\d+)","from":"content"},{"name":"level","re":"\"level\": (\\d+)","from":"content"}]}},{"comment":"判断条件成立","request":{"method":"GET","url":"{% if status == \"fail\" %}","headers":[],"cookies":[],"data":""},"rule":{"success_asserts":[],"failed_asserts":[],"extract_variables":[]}},{"comment":"Unicode转换","request":{"method":"POST","url":"api://util/unicode","headers":[],"cookies":[],"data":"html_unescape=false&content=用户名:{{name}}\\r\\n 等级:Lv.{{level}} {{title\n}},经验:{{exp}}\\r\\n 签到结果:重复签到"},"rule":{"success_asserts":[{"re":"200","from":"status"},{"re":"\"状态\": \"200\"","from":"content"}],"failed_asserts":[],"extract_variables":[{"name":"__log__","re":"\"转换后\": \"(.*)\"","from":"content"}]}},{"comment":"判断条件不成立","request":{"method":"GET","url":"{% else %}","headers":[],"cookies":[],"data":""},"rule":{"success_asserts":[],"failed_asserts":[],"extract_variables":[]}},{"comment":"","request":{"method":"POST","url":"api://util/unicode","headers":[],"cookies":[],"data":"html_unescape=false&content=用户名:{{name}}\\r\\n 等级:Lv.{{level}} {{title\n}},经验:{{exp}}\\r\\n 签到结果:打卡成功,打卡时间:{{day}}"},"rule":{"success_asserts":[{"re":"200","from":"status"},{"re":"\"状态\": \"200\"","from":"content"}],"failed_asserts":[],"extract_variables":[{"name":"__log__","re":"\"转换后\": \"(.*)\"","from":"content"}]}},{"comment":"判断块结束","request":{"method":"GET","url":"{% endif %}","headers":[],"cookies":[],"data":""},"rule":{"success_asserts":[],"failed_asserts":[],"extract_variables":[]}}]
LuciMessiah commented 10 months ago

2023-11-28 20:37:09 日志:Failed at 5/14 request, Fail assert: {"re": "200", "from": "status"} from success_asserts, Response Error : HTTP 599: Failed to connect to picaapi.picacomic.com port 443 after 15207 ms: Couldn't connect to server, Request URL: https://picaapi.picacomic.com/auth/sign-in

chen8945 commented 10 months ago

2023-11-28 20:37:09 日志:Failed at 5/14 request, Fail assert: {"re": "200", "from": "status"} from success_asserts, Response Error : HTTP 599: Failed to connect to picaapi.picacomic.com port 443 after 15207 ms: Couldn't connect to server, Request URL: https://picaapi.picacomic.com/auth/sign-in

非模板问题,请检查自身网络环境

Deva2047 commented 8 months ago

Failed at 5/14 request, Fail assert: {"re": "200", "from": "status"} from success_asserts, Response Error : HTTP 599: Failed to connect to picaapi.picacomic.com port 443 after 15207 ms: Couldn't connect to server, Request URL: https://picaapi.picacomic.com/auth/sign-in

和楼上同样问题

chen8945 commented 8 months ago

Failed at 5/14 request, Fail assert: {"re": "200", "from": "status"} from success_asserts, Response Error : HTTP 599: Failed to connect to picaapi.picacomic.com port 443 after 15207 ms: Couldn't connect to server, Request URL: https://picaapi.picacomic.com/auth/sign-in

和楼上同样问题

大陆服务器请使用代理,国外服务器请尝试在容器内执行curl http://picaapi.picacomic.com,看看是否返回响应

moexizer commented 6 months ago

Failed at 4/14 request, Fail assert: {"re": "200", "from": "status"} from success_asserts, Response Error : HTTP 301: Moved Permanently, Request URL: https://www.devglan.com/online-tools/hmac-sha256-online

最近几次错误都是 devglan 返回错误代码,除了 301 还有 599 和 403 。

chen8945 commented 6 months ago

Failed at 4/14 request, Fail assert: {"re": "200", "from": "status"} from success_asserts, Response Error : HTTP 301: Moved Permanently, Request URL: https://www.devglan.com/online-tools/hmac-sha256-online

最近几次错误都是 devglan 返回错误代码,除了 301 还有 599 和 403 。

已更新

gongxianzhang commented 5 months ago

代理失败

日志:Failed at 5/14 request, Fail assert: {"re": "200", "from": "status"} from success_asserts, Response Error : HTTP 599: Connection timed out after 30002 milliseconds, Request URL: https://picaapi.picacomic.com/auth/sign-in

ActDeco commented 4 months ago

失败

Failed at 5/14 request, Fail assert: {"re": "200", "from": "status"} from success_asserts, Response Error : HTTP 400: Bad Request, Request URL: https://picaapi.picacomic.com/auth/sign-in

Magic989 commented 4 months ago

失败

Failed at 5/14 request, Fail assert: {"re": "200", "from": "status"} from success_asserts, Response Error : HTTP 400: Bad Request, Request URL: https://picaapi.picacomic.com/auth/sign-in

俺也一样,不过今天才刚出现

xinghui233 commented 4 months ago

https://www.devglan.com 请求失败 现在需要先访问获取 JSESSIONID这个cookie 但好像后续pic请求也会携带该cookie 不知道怎么控制该cookie只在devglan携带 {"status":400,"message":"Session expired. Please reload the page to reset the session.","result":null}

目前尝试使用 https://www.toolhelper.cn/DigestAlgorithm/HMAC_SHA

curl --request POST  --url 'https://www.toolhelper.cn/DigestAlgorithm/GetHMAC_SHA? gts=$time&gv=638516294073231325&r_=0.3709661115018901'  --header 'content-type: multipart/form-data' \
  --form keyFormat=1  --form 'key=&key  --form source=$text --form encoding=UTF-8
chen8945 commented 4 months ago

@ActDeco @Magic989 @xinghui233 已更新

Magic989 commented 4 months ago

感谢大佬,执行成功了✌

chen8945 @.***> 于 2024年5月19日周日 15:21写道:

@ActDeco https://github.com/ActDeco @Magic989 https://github.com/Magic989 @xinghui233 https://github.com/xinghui233 已更新

— Reply to this email directly, view it on GitHub https://github.com/qd-today/templates/issues/473#issuecomment-2119132284, or unsubscribe https://github.com/notifications/unsubscribe-auth/AN6NHZTJOPTEDX67AIEMAD3ZDBHIPAVCNFSM6AAAAAA7NTIXPCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJZGEZTEMRYGQ . You are receiving this because you were mentioned.Message ID: @.***>

Love-Megumin commented 4 months ago

失败 Failed at 4/15 request, Fail assert: {"re": "302", "from": "status"} from success_asserts, Response Error : HTTP 599: Connection timed out after 30000 milliseconds, Request URL: https://www.devglan.com/online-tools/hmac-sha256-online

picpo commented 4 months ago

失败

Failed at 5/14 request, Fail assert: {"re": "200", "from": "status"} from success_asserts, Response Error : HTTP 400: Bad Request, Request URL: https://picaapi.picacomic.com/auth/sign-in

失败 Failed at 5/14 request, Fail assert: {"re": "200", "from": "status"} from success_asserts, Response Error : HTTP 400: Bad Request, Request URL: https://picaapi.picacomic.com/auth/sign-in

俺也一样,不过今天才刚出现

我也在今日遇到了同样的问题,请问两位是否有解决方案呢

Magic989 commented 4 months ago

上次作者更新后问题解决了,到目前为止没有发现这个问题

PiCpo @.***> 于 2024年6月1日周六 03:04写道:

失败

Failed at 5/14 request, Fail assert: {"re": "200", "from": "status"} from success_asserts, Response Error : HTTP 400: Bad Request, Request URL: https://picaapi.picacomic.com/auth/sign-in

失败 Failed at 5/14 request, Fail assert: {"re": "200", "from": "status"} from success_asserts, Response Error : HTTP 400: Bad Request, Request URL: https://picaapi.picacomic.com/auth/sign-in

俺也一样,不过今天才刚出现

我也在今日遇到了同样的问题,请问两位是否有解决方案呢

— Reply to this email directly, view it on GitHub https://github.com/qd-today/templates/issues/473#issuecomment-2142831467, or unsubscribe https://github.com/notifications/unsubscribe-auth/AN6NHZW3AEHXHHNWY6VGPGDZFDCT5AVCNFSM6AAAAAA7NTIXPCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBSHAZTCNBWG4 . You are receiving this because you were mentioned.Message ID: @.***>

Magic989 commented 4 months ago

好家伙,今天报错了,尴尬

Failed at 6/15 request, Fail assert: {"re": "200", "from": "status"} from success_asserts, Response Error : HTTP 599: quictls SSL_connect: SSL_ERROR_SYSCALL in connection to picaapi.picacomic.com:443 , Request URL: https://picaapi.picacomic.com/auth/sign-in

picpo commented 4 months ago

好家伙,今天报错了,尴尬 Failed at 6/15 request, Fail assert: {"re": "200", "from": "status"} from success_asserts, Response Error : HTTP 599: quictls SSL_connect: SSL_ERROR_SYSCALL in connection to picaapi.picacomic.com:443 , Request URL: https://picaapi.picacomic.com/auth/sign-in

不过我和你报错不太一样,我还是HTTP400Bad Request报错

Magic989 commented 4 months ago

我又正常了😰

PiCpo @.***> 于 2024年6月2日周日 00:24写道:

好家伙,今天报错了,尴尬 Failed at 6/15 request, Fail assert: {"re": "200", "from": "status"} from success_asserts, Response Error : HTTP 599: quictls SSL_connect: SSL_ERROR_SYSCALL in connection to picaapi.picacomic.com:443 , Request URL: https://picaapi.picacomic.com/auth/sign-in

不过我和你报错不太一样,我还是HTTP400Bad Request报错

— Reply to this email directly, view it on GitHub https://github.com/qd-today/templates/issues/473#issuecomment-2143504215, or unsubscribe https://github.com/notifications/unsubscribe-auth/AN6NHZRHHWTYXQ2DS6HYVQLZFHYSXAVCNFSM6AAAAAA7NTIXPCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBTGUYDIMRRGU . You are receiving this because you were mentioned.Message ID: @.***>

1llyAsVieL commented 1 month ago

400错误 日志:Failed at 6/15 request, Fail assert: {"re": "200", "from": "status"} from success_asserts, Response Error : HTTP 400: Bad Request, Request URL: https://picaapi.picacomic.com/auth/sign-in

curl https://picaapi.picacomic.com测试,返回 curl https://picaapi.picacomic.com { "code": 400, "error": "1001", "message": "the format of accept header is invalid" }

试了十几次只有一次成功了,curl其他外网站点是正常的