Spaces:
Running
Running
Commit
·
8e4af33
1
Parent(s):
bbb3d17
Upload hcaptcha_solver.py
Browse files- hcaptcha_solver.py +1 -18
hcaptcha_solver.py
CHANGED
@@ -50,23 +50,12 @@ async def route_continuation(route, request, host, sitekey):
|
|
50 |
<title>hCAPTCHA 演示</title>
|
51 |
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
52 |
<meta name="viewport" content="width=device-width, user-scalable=yes">
|
53 |
-
<script src="https://js.hcaptcha.com/1/api.js
|
54 |
-
<script src="/static/js/b.js" type="text/javascript" async defer></script>
|
55 |
-
<style type="text/css">
|
56 |
-
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{margin:0;padding:0;border:0;outline:0;font-family:-apple-system,helvetica,arial,sans-serif;font-size:14px;vertical-align:baseline}fieldset{border:1px solid #ebebeb;padding:16px}form label{display:block;line-height:29px}form ul li{margin-bottom:10px}input{font-family:-apple-system,helvetica,arial,sans-serif;font-size:14px}ul{list-style:none}.sample-form{width:335px;padding:16px}.hcaptcha-error{border:1px solid #dd4b39;padding:5px}.hcaptcha-error-message{color:#dd4b39;font-size:24px;padding:10px 0}.hcaptcha-success{margin:20px; font-size: 24px;}.smsg{color:green;}.wrap{overflow-wrap: anywhere;}.warning{padding: 10px 10px 0px 10px;}
|
57 |
-
code { font-family: 'Courier New', Courier, monospace; background-color: lightgrey;}
|
58 |
-
}
|
59 |
-
}
|
60 |
-
</style>
|
61 |
</head>
|
62 |
<body>
|
63 |
<br><br>
|
64 |
<div class="sample-form">
|
65 |
<form id="hcaptcha-demo-form" method="POST">
|
66 |
-
<fieldset>
|
67 |
-
<ul>
|
68 |
-
<div class>
|
69 |
-
|
70 |
<div id="hcaptcha-demo" class="h-captcha" data-sitekey="%%%%%%%%%%%" data-callback="onSuccess" data-expired-callback="onExpire"></div>
|
71 |
<script>
|
72 |
// success callback
|
@@ -90,13 +79,7 @@ async def route_continuation(route, request, host, sitekey):
|
|
90 |
};
|
91 |
</script>
|
92 |
|
93 |
-
</div>
|
94 |
-
<input id="hcaptcha-demo-submit" type="submit" value="Submit">
|
95 |
-
</ul>
|
96 |
-
</fieldset>
|
97 |
-
</form>
|
98 |
<div class="hcaptcha-success smsg" aria-live="polite"></div>
|
99 |
-
</div>
|
100 |
</body>
|
101 |
<script type="text/javascript">
|
102 |
// beacon example
|
|
|
50 |
<title>hCAPTCHA 演示</title>
|
51 |
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
52 |
<meta name="viewport" content="width=device-width, user-scalable=yes">
|
53 |
+
<script src="https://js.hcaptcha.com/1/api.js" type="text/javascript" async defer></script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
54 |
</head>
|
55 |
<body>
|
56 |
<br><br>
|
57 |
<div class="sample-form">
|
58 |
<form id="hcaptcha-demo-form" method="POST">
|
|
|
|
|
|
|
|
|
59 |
<div id="hcaptcha-demo" class="h-captcha" data-sitekey="%%%%%%%%%%%" data-callback="onSuccess" data-expired-callback="onExpire"></div>
|
60 |
<script>
|
61 |
// success callback
|
|
|
79 |
};
|
80 |
</script>
|
81 |
|
|
|
|
|
|
|
|
|
|
|
82 |
<div class="hcaptcha-success smsg" aria-live="polite"></div>
|
|
|
83 |
</body>
|
84 |
<script type="text/javascript">
|
85 |
// beacon example
|