GithubHelp home page GithubHelp logo

我对代码做了些修改 about proxypool HOT 4 OPEN

henson avatar henson commented on July 19, 2024
我对代码做了些修改

from proxypool.

Comments (4)

henson avatar henson commented on July 19, 2024

欢迎pull request

from proxypool.

sndnvaps avatar sndnvaps commented on July 19, 2024

89ip.go err处理有问题,有时会导致空指针。

if resp.StatusCode != 200 {
//	clog.Warn(err.Error())
  return
}

xicidl.go 请求有问题,我重写了。

详见 https://github.com/nlh1996/gopa/blob/master/proxy/xicidl.go

这个是,判断返回值为200,即ok
如果不是200,即操作有问题,clog.Warn(err.Error())打印出错的信息

from proxypool.

nlh1996 avatar nlh1996 commented on July 19, 2024

请结合原代码的情境看,此处err可能是nil,调用Error方法会引发异常。

from proxypool.

sndnvaps avatar sndnvaps commented on July 19, 2024

请结合原代码的情境看,此处err可能是nil,调用Error方法会引发异常。

有这个可能性。。。

from proxypool.

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.