Code Monkey home page Code Monkey logo

Comments (13)

seaweiqing avatar seaweiqing commented on May 22, 2024 1

我们没有换过IP,所以没遇到过你说的这个问题,只是出现过418报错,后来调了一下延迟时间。

from weibospider_sentimentanalysis.

seaweiqing avatar seaweiqing commented on May 22, 2024

抱歉,我们今天也尝试了一下,才发现之前的那个网站被封了,还有其他类似的小号购买网站,需要注意购买有昵称无头像免验证码的类型,大概的价格在0.2-0.3一个

from weibospider_sentimentanalysis.

seaweiqing avatar seaweiqing commented on May 22, 2024

这里提供几个参考链接,链接中包含有免验证码类型的账号,请注意相关说明:
http://www.wbxiaohao.com/
http://www.xiaohao.fun/
http://www.400752.cn/
链接仅供参考,我们只在之前的小号商城上购买过,购买之前可以咨询客服是否需要验证码。

from weibospider_sentimentanalysis.

luoqishuai avatar luoqishuai commented on May 22, 2024

他们卖账号的说,一个IP只能登陆两个账号. 你们直接用自己IP不会被封吗?
我用隧道代理登陆,刷新cookie次数稍微一多,他也被封了

from weibospider_sentimentanalysis.

seaweiqing avatar seaweiqing commented on May 22, 2024

我们之前是用的20个账号,开了三个进程抓的,进程开得再多一点就可能会封ip,封ip之后cut到两三个进程继续抓就可以了。

from weibospider_sentimentanalysis.

luoqishuai avatar luoqishuai commented on May 22, 2024

https://i.loli.net/2019/07/08/5d22aa93c527489369.png
不是因为爬取频率..是在登录获取cookie的时候,因为多个账号公用一个IP,或者一个账号在多个IP地点登录. 都会导致被封

from weibospider_sentimentanalysis.

seaweiqing avatar seaweiqing commented on May 22, 2024

之前爬的时候按照这个项目的博主的介绍,说的是微博不会封ip,只会封账号,实际抓的时候用20-40个账号确实也没有出现这个问题,我们也没有建IP池什么的,如果是你这种会封ip的情况或许可以考虑建个ip池。之前有人提出过类似的问题,可以参考一下。nghuyong/WeiboSpider#71

from weibospider_sentimentanalysis.

luoqishuai avatar luoqishuai commented on May 22, 2024

可能是我没表述清楚...是封的账号,因为多个账号在一个IP登录,而封的账号.
然后我使用隧道代理来登录账号(就是每个请求的IP都不一样),然后在刷新cookie几次后(即一个账号在多个地点登录),账号异常,被封账号.
请问,你的cookie是多久刷新一次呢?有没有遇到过类似的问题呢

from weibospider_sentimentanalysis.

luoqishuai avatar luoqishuai commented on May 22, 2024

嗯嗯,谢谢啦.我再想想

from weibospider_sentimentanalysis.

Cprocc avatar Cprocc commented on May 22, 2024

嗯嗯,谢谢啦.我再想想

hi, 请问,你的问题得到解决了吗。 我这边构建出来也是很不稳定

from weibospider_sentimentanalysis.

luoqishuai avatar luoqishuai commented on May 22, 2024

嗯嗯,谢谢啦.我再想想

hi, 请问,你的问题得到解决了吗。 我这边构建出来也是很不稳定

账号不要总更换IP登录就好了. 每天尽量只刷新一个cookie

from weibospider_sentimentanalysis.

fanfanSky avatar fanfanSky commented on May 22, 2024

最好购买10个以上的微博账号,某宝上很多的,不贵,几毛钱到一块钱一个

from weibospider_sentimentanalysis.

Gbaba-M avatar Gbaba-M commented on May 22, 2024

买个10个以上的微博账,不贵,到某宝上好几块钱的,最好买一个
请问怎么买呀 某宝搜不出来

from weibospider_sentimentanalysis.

Related Issues (9)

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.