Giter Club home page Giter Club logo

proxy-collect's People

Contributors

tongsq avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

proxy-collect's Issues

报错

INFO[2023-07-14 02:31:39] local_ip_data.go:47:文件不存在,尝试从网络获取最新纯真 IP 库
ERRO[2023-07-14 02:31:40] local_ip_data.go:30:更新本地纯真ip库失败 err="zlib: invalid header"
ERRO[2023-07-14 02:31:40] local_ip_data.go:50:download local ip data fail err="zlib: invalid header"

更新后的bug

大大更新后运行几个小时报错,错误从dos窗口直接复制的,可能会不通顺!
看到job.go中“c.AddJob("@every 5m", scheduler.UpdateIpInfo{})”还在使用ip138查询,直接给注释了,不知道不是因为这个引起的报错,只会一点简单的php,基本靠猜。
如果方便的话请留个联系方式,方便沟通。联系方式可以写在“conf.yaml”的注释中,很隐蔽的-_-

“panic: runtime error: index out of range [0] with length 0”

goroutine 1409 [running]:
proxy-collect/service/ip.(*localIpService).readMode(...)
c:/go/code/proxy-collect-master/service/ip/local_ip_service.go:113
proxy-collect/service/ip.(*localIpService).Find(0xc00001e010, {0xc00db11620, 0xd})
c:/go/code/proxy-collect-master/service/ip/local_ip_service.go:75 +0x492
proxy-collect/service/ip.GetIpInfo({0xc00db11620, 0xd}, {0xc00db11618, 0x5})
c:/go/code/proxy-collect-master/service/ip/service.go:20 +0x45
proxy-collect/service.(*proxyService).CheckProxyAndSave(0x406e40?, {0xc00db11620, 0xd}, {0xc00db11618, 0x5}, {0x0, 0x0})
c:/go/code/proxy-collect-master/service/proxy_service.go:120 +0x62bproxy-collect/scheduler.CheckActiveIp.Run.func1()
c:/go/code/proxy-collect-master/scheduler/check_active_ip.go:25 +0x3a
github.com/tongsq/go-lib/component.(*Pool).workerStart(0xc000094c18, 0xc0016fcb40?, 0x0?)
C:/Users/taotao/go/pkg/mod/github.com/tongsq/[email protected]/component/task_pool.go:19 +0x62
created by github.com/tongsq/go-lib/component.(*Pool).RunTask
C:/Users/taotao/go/pkg/mod/github.com/tongsq/[email protected]/component/task_pool.go:31 +0x11e
exit status 2

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.