Giter VIP home page Giter VIP logo

Comments (7)

kiruto avatar kiruto commented on May 18, 2024

抱歉,这个才是source code,上面给的是js解析后的source。
https://gist.github.com/kiruto/9c0104850ec8810a838347fcc641a73e

from wechatsogou.

chyroc avatar chyroc commented on May 18, 2024

@kiruto , 这个应该是处理过的,请问是不是验证码输错了,这个也会在_get里面报错。
请贴出具体的报错信息~

from wechatsogou.

kiruto avatar kiruto commented on May 18, 2024

如果也是处理过的,应该是验证码模版变了。但是我看代码逻辑应该是未经处理的。
之前的验证码模版文案是:用户您好,您的访问过于频繁,为确认本次访问为正常用户行为,需要您协助验证
我贴出来的Html中,模版文案是:为了您的安全请输入验证码

具体报错我现在不好找了,是过了_get方法,在api.py WechatSogouBasic.get_gzh_message方法中,return self._deal_gzh_article_dict(self._get_gzh_article_by_url_dict(text))这里解析出错了。

我修复了这个问题,但是我的实现和你的不太一样,我用V8解析的html。。。所以提不了PR。。。。。抱歉otz

from wechatsogou.

yfhlearnios avatar yfhlearnios commented on May 18, 2024

@kiruto 你好,想问一下,文章列表的验证码你是怎么解决了?

from wechatsogou.

yfhlearnios avatar yfhlearnios commented on May 18, 2024

@chyroc 你好,我现在经常会在列表界面遇到验证码,当我输入验证码发送了post请求之后,会报一个“{"ret":501,"errmsg":"","cookie_count":0}”这样的返回信息,应该是不识别我的数据。这个是什么情况?

from wechatsogou.

wanghj321 avatar wanghj321 commented on May 18, 2024

@kiruto @chyroc 想问下验证码是怎么解决的呢?

from wechatsogou.

chyroc avatar chyroc commented on May 18, 2024

#95

from wechatsogou.

Related Issues (20)

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.