Git Product home page Git Product logo

Comments (14)

ytai-chn avatar ytai-chn commented on August 15, 2024

大概率是因为没有正确输入Cookie导致的。
输入的Cookie可以采用手动复制或者复制值的方式。
不要携带前面的【Cookie:】字样

如果你本地有环境,可以自己去掉--headless的语句运行一下,如果页面是没有登陆的页面,那就是Cookie没对。

from zodgame_checkin.

ytai-chn avatar ytai-chn commented on August 15, 2024

我在本地测试了你的Cookie,是登陆不上去的。
如果你是11月份之前就注册过zodgame的,建议你退出登陆,然后重新登陆一下,重获取一遍Cookie。
然后在论坛里多点几个页面,再新的Cookie填进去。

没有测试过手机模式,就用PC模式就OK。

from zodgame_checkin.

yimouleng avatar yimouleng commented on August 15, 2024

好的吧,我重新尝试下,但是我本地没有环境没法测试很麻烦

from zodgame_checkin.

ytai-chn avatar ytai-chn commented on August 15, 2024

或者你用无痕模式登陆一下,然后重获取Cookie。
记得在论坛里多点几个页面,然后导出Cookie。(不确定这样是否确实奏效,感觉多点几个页面之后Cookie会变多,没有做具体测试)

from zodgame_checkin.

yimouleng avatar yimouleng commented on August 15, 2024

无痕模式,重新登录啥的都试了,依然失败了,人傻了。

from zodgame_checkin.

ytai-chn avatar ytai-chn commented on August 15, 2024

你的Cookie比我的少好几项呢,应该是没获取全。

我的操作步骤:
1.打开无痕模式
2.登陆进去
3.打开开发者工具-网络(此时没有任何记录)
4.刷新页面
5.从新的请求里获取到Cookie。

我这样操作是可行的,浏览器Chrome。

from zodgame_checkin.

yimouleng avatar yimouleng commented on August 15, 2024

运行成功了,试了很多个Cookie,没用无痕模式,重新登录一次,但是多了home的一个参数,反正就是莫名其妙的复制过去就成功了

from zodgame_checkin.

yimouleng avatar yimouleng commented on August 15, 2024

最新更新的去除了version_main=95,但是手动运行偶尔依然报错script timeout (Session info: chrome=97.0.4692.71)

手贱更换了Cookie,一直失败了
Run python3 ./zodgame/zodgame.py "***" python3 ./zodgame/zodgame.py "***" shell: C:\Program Files\PowerShell\7\pwsh.EXE -command ". '{0}'" env: pythonLocation: C:\hostedtoolcache\windows\Python\3.7.9\x64 签到失败 Traceback (most recent call last): File "./zodgame/zodgame.py", line 71, in <module> zodgame(cookie_string) File "./zodgame/zodgame.py", line 62, in zodgame assert "\u606d\u559c\u4f60\u7b7e\u5230\u6210\u529f!" in message or "\u60a8\u4eca\u65e5\u5df2\u7ecf\u7b7e\u5230\uff0c\u8bf7\u660e\u5929\u518d\u6765" in message AssertionError Error: Process completed with exit code 1.

尝试了2小时,更换了20多次Cookie,还是不行。

from zodgame_checkin.

ytai-chn avatar ytai-chn commented on August 15, 2024

Timeout暂时不清楚,可能是因为那个时间点访问人太多导致的。
这个地方出现一堆\u字符串是因为action我换了windows的镜像来运行,好处是默认带图形界面,不用在headless下运行,兼容性会更强。

Cookie现在只需要qhMq_2132_saltkey和qhMq_2132_auth就好了,其他的没啥用,另外你可以尝试从浏览器的Cookie里直接把这两项取出来拼凑一下。(谷歌浏览器,开发者工具,Application,左边Cookies)。

from zodgame_checkin.

yimouleng avatar yimouleng commented on August 15, 2024

好的,我重新尝试下,你每次回复都好快

from zodgame_checkin.

ytai-chn avatar ytai-chn commented on August 15, 2024

哈,有邮件推送的,我看到就回了。

from zodgame_checkin.

yimouleng avatar yimouleng commented on August 15, 2024

废了我,三个多小时了,各种方式各种cookie都试了,还是失败,头疼

from zodgame_checkin.

ytai-chn avatar ytai-chn commented on August 15, 2024

我晚上试一下你的Cookie,或者你可以加一下我QQ,653297351

from zodgame_checkin.

yimouleng avatar yimouleng commented on August 15, 2024

加Q了,麻烦了

from zodgame_checkin.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.