0

在我的项目中实施之前,我正在尝试使用 python 代码解决https://2captcha.com/demo/normal 。但是,我对如何发送我的图像验证码有点困惑。

这是我应该如何提交表单以获取问题 ID 的代码:

<form method="post" action="https://2captcha.com/in.php" enctype="multipart/form-data">
<input type="hidden" name="method" value="post" />
Your key:
<input type="text" name="key" value="YOUR_APIKEY" />
The CAPTCHA file:
<input type="file" name="file" />
<input type="submit" value="Upload and get the ID" />

这是我要解决的图像 URL:

https://2captcha.com/dist/web/99581b9d446a509a0a01954438a5e36a.jpg

我打算使用 Python 代码向 2captcha.com(使用请求库)发出发布请求以获取问题 ID,如下所示

OK|2122988149

我真的很感谢任何可以提供帮助的人。

4

0 回答 0