Answer the question
In order to leave comments, you need to log in
How to show page with hCaptcha in Jupyter Notebook?
I'm collecting data from one site, for a little research. In a volume slightly larger than everyday scrolling, and less than malicious parsing. But the captcha pops up.
I work in Google Colab, I request pages using requests, then I parse BeautifulSoup.
At some stage, instead of the requested page, I get this:
<html>
<head>
<title>hCaptcha solve page</title>
<script async="" defer="" src="https://www.hcaptcha.com/1/api.js"></script>
</head>
<body>
<form action="/jobs?as_and=UX&as_any=&jt=all&radius=25&l=London&fromage=all&as_ttl=product%20manager&limit=50&psf=advsrch&from=advancedsearch" method="POST">
<div class="h-captcha" data-sitekey="eb27f525-f936-43b4-91e2-95a426d4a8bd"></div>
<br/>
<input type="submit" value="Submit"/>
</form>
</body>
</html>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question