使用beautifulSoup时如何绕过验证码?

时间:2019-12-29 01:30:46

标签: python web-scraping beautifulsoup recaptcha captcha

你好,我想知道是否有人可以帮助我。我目前正在尝试对一个网站进行抓取,但是我遇到了验证码验证,无法绕过该验证码。我已经为我的用户代理设置了标头。关于如何克服此过程的任何提示?

我当时在考虑使用硒,但我认为这不是最有效的方法。

    <p>
As you were browsing, something about your browser made us think you might be a bot. There are a few reasons this might happen, including:
</p>
<ul>
<li>
You're a power user moving through this website with super-human speed
</li>
<li>
You've disabled JavaScript and/or cookies in your web browser
</li>

之所以感到沮丧,是因为我尚未将其实现到多个站点,它只是一个URL。

我要尝试抓取的网站是realtor.com

谢谢,非常感谢您的帮助!

0 个答案:

没有答案