GithubHelp home page GithubHelp logo

Comments (8)

viponedream avatar viponedream commented on August 23, 2024

1, 发现扫出来的代理IP, 没办法打开百度网站?
2, 刚才重启之后,发现数据库坏了, 程序可以判断数据库出故障之后, 干脆删除了重新建. 不要用原先的.

from ipproxypool.

qiyeboy avatar qiyeboy commented on August 23, 2024

@viponedream 不推荐随机返回,还是按照这种规则,不过你可以使用random方法随机选取作为代理

from ipproxypool.

qiyeboy avatar qiyeboy commented on August 23, 2024

@viponedream 你试试访问https://www.baidu.com

from ipproxypool.

viponedream avatar viponedream commented on August 23, 2024

问题是有点麻烦.
采集来的是http代理.  我手工把这个代理加到浏览器上去,  确实没办法访问 百度的网站, 但是163.com 就可以访问, 只是不太正常.

from ipproxypool.

qiyeboy avatar qiyeboy commented on August 23, 2024

最近会把检测ip的方式加上去 @viponedream

from ipproxypool.

viponedream avatar viponedream commented on August 23, 2024

发现问题了.
原来百度要使用 https的代理才行.
但是我看了一下数据库中,采集回来的全部是 http的,所以全部不能用.
建议采集的时候可以选择只采集 https的或者优先采集 https的

from ipproxypool.

qiyeboy avatar qiyeboy commented on August 23, 2024

@viponedream 不是全不能用吧,只是我默认将类型写为了0,之前类型检测的网站挂了,所以这段代码就删除了,之后会加上ip类型检测

from ipproxypool.

viponedream avatar viponedream commented on August 23, 2024

谢谢.
可以多设一个参数, 只要采集 https 的就行.
判断方法可以去连百度, 能够连上百度的就是 https的.

from ipproxypool.

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.