|
|
 |
 |
| 24.08.2026 00:13:35 |
|
6814 : Marcohex |
| Came here from a search and stayed for the side links because they were that interesting, and a stop at <a href="http://globalgearshop.shop" />globalgearshop</a> took me even further into the site, the kind of organic exploration that good content invites is something most sites kill through aggressive interlinking and pushy navigation choices rather than relying on quality.
|
| 23.08.2026 20:36:57 |
|
6813 : omocaptchaSob |
Cach giai hCaptcha tu dong bang API
Ban dang tim cach giai hCaptcha de tu dong hoa quy trinh kiem thu (QA) form dang nhap, giam sat website hay thu thap du lieu duoc cap phep? Cau tra loi ngan gon: ban khong can "click chuot" thu cong. Thay vao do, ban doc sitekey cung URL trang, gui mot task toi API giai hcaptcha cua OMOCaptcha, cho token tra ve, roi chen token do vao o an h-captcha-response de submit form. Bai viet nay huong dan toan bo luong token do voi code Python va Node.js hoan chinh, chay truc tiep voi api.omocaptcha.com/v2.
hCaptcha la gi?
hCaptcha la mot dich vu captcha tap trung vao quyen rieng tu, duoc xem nhu giai phap thay the cho reCAPTCHA cua Google. Truoc day Cloudflare tung dung hCaptcha lam challenge mac dinh (nay da chuyen sang Turnstile), va hCaptcha van pho bien tren rat nhieu website nho mo hinh bao ve du lieu va cac goi Enterprise.
Ve mat ky thuat, hCaptcha hoat dong dua tren hai gia tri chinh:
- sitekey (data-sitekey): ma cong khai gan voi website, nam trong HTML cua trang.
- token (h-captcha-response): chuoi ma hCaptcha tra ve sau khi challenge duoc giai, va la thu server dung de xac thuc.
Voi bien the Enterprise, doi khi trang con kem tham so rqdata (con goi la enterprise payload) ma ban can truyen them khi tao task.
Luong giai hCaptcha bang API hoat dong ra sao?
Nguyen tac de giai hcaptcha tu dong rat don gian va giong nhau cho moi loai token captcha:
1. Doc thong tin: lay websiteURL (URL trang chua captcha) va websiteKey (chinh la sitekey).
2. Tao task: goi POST /createTask de gui thong tin len OMOCaptcha, nhan ve taskId.
3. Poll ket qua: goi POST /getTaskResult lap lai cho toi khi status tra ve ready.
4. Inject token: dien token vao o textarea[name="h-captcha-response"] (va g-recaptcha-response neu widget yeu cau) roi submit.
Toan bo HTTP status luon la 200; thanh cong hay that bai duoc quyet dinh boi truong errorId (0 nghia la thanh cong), theo chuan envelope tuong thich AntiCaptcha.
Luu y ve task type: Vi du duoi dung type HCaptchaTokenTask. Day la quy uoc cho captcha dang token; ban hay xac nhan lai chuoi type chinh xac trong tai lieu API cua OMOCaptcha truoc khi chay production.
Vi du Python (requests)
Doan code sau minh hoa day du cach goi API, poll lich su voi backoff va luon dat timeout cho moi request.
import time
import requests
API_BASE = "https://api.omocaptcha.com/v2"
CLIENT_KEY = "YOUR_API_KEY"
def solve_hcaptcha(website_url: str, website_key: str, rqdata: str - None = None) -> str:
# 1) Tao task
task = (
"type": "HCaptchaTokenTask", # Xac nhan lai ten type trong docs OMOCaptcha
"websiteURL": website_url,
"websiteKey": website_key,
# Giu user-agent nhat quan giua luc giai va luc submit
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36",
)
if rqdata: # hCaptcha Enterprise
task["enterprisePayload"] = ("rqdata": rqdata)
create = requests.post(
f"(API_BASE)/createTask",
json=("clientKey": CLIENT_KEY, "task": task),
timeout=30,
).json()
if create.get("errorId" != 0:
raise RuntimeError(f"createTask loi: (create.get(errorCode)) - (create.get(errorDescription))"
task_id = create["taskId"]
# 2) Poll ket qua voi backoff nhe
delay = 3
for _ in range(24): # toi da ~1-2 phut
time.sleep(delay)
result = requests.post(
f"(API_BASE)/getTaskResult",
json=("clientKey": CLIENT_KEY, "taskId": task_id),
timeout=30,
).json()
if result.get("errorId" != 0:
raise RuntimeError(f"getTaskResult loi: (result.get(errorCode))"
status = result.get("status"
if status == "ready":
# token thuong nam o solution.gRecaptchaResponse voi hCaptcha/reCAPTCHA
return result["solution"]["gRecaptchaResponse"]
if status == "fail":
raise RuntimeError("Task that bai, so du da duoc hoan lai."
delay = min(delay + 1, 6) # tang dan, poll lich su
raise TimeoutError("Het thoi gian cho token hCaptcha"
if __name__ == "__main__":
token = solve_hcaptcha(
website_url="https://example.com/login",
website_key="10000000-ffff-ffff-ffff-000000000001",
)
print("hCaptcha token:", token[:40], "..."
Vi du Node.js (fetch)
Cung luong do viet bang JavaScript/Node.js. Dung AbortController de dam bao moi request deu co timeout.
const API_BASE = "https://api.omocaptcha.com/v2";
const CLIENT_KEY = "YOUR_API_KEY";
async function postJSON(path, body, timeoutMs = 30000) (
const controller = new AbortController();
const t = setTimeout(() => controller.abort(), timeoutMs);
try (
const res = await fetch(`$(API_BASE)$(path)`, (
method: "POST",
headers: ( "Content-Type": "application/json" ),
body: JSON.stringify(body),
signal: controller.signal,
));
return await res.json();
) finally (
clearTimeout(t);
)
)
const sleep = (ms) => new Promise((r) => setTimeout(r, ms));
async function solveHCaptcha(websiteURL, websiteKey, rqdata) (
const task = (
type: "HCaptchaTokenTask", // Xac nhan lai ten type trong docs OMOCaptcha
websiteURL,
websiteKey,
userAgent:
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36",
);
if (rqdata) task.enterprisePayload = ( rqdata );
const create = await postJSON("/createTask", ( clientKey: CLIENT_KEY, task ));
if (create.errorId !== 0) (
throw new Error(`createTask loi: $(create.errorCode) - $(create.errorDescription)`);
)
const taskId = create.taskId;
let delay = 3000;
for (let i = 0; i < 24; i++) (
await sleep(delay);
const result = await postJSON("/getTaskResult", (
clientKey: CLIENT_KEY,
taskId,
));
if (result.errorId !== 0) throw new Error(`getTaskResult loi: $(result.errorCode)`);
if (result.status === "ready" return result.solution.gRecaptchaResponse;
if (result.status === "fail" throw new Error("Task that bai, so du da hoan lai." ;
delay = Math.min(delay + 1000, 6000); // poll lich su
)
throw new Error("Het thoi gian cho token hCaptcha" ;
)
solveHCaptcha("https://example.com/login", "10000000-ffff-ffff-ffff-000000000001"
.then((token) => console.log("hCaptcha token:", token.slice(0, 40), "..." )
.catch(console.error);
Chen token vao trang
Sau khi co token, buoc cuoi de vuot hCaptcha la dua no vao DOM roi submit. Voi cong cu tu dong nhu Playwright/Selenium:
await page.evaluate((token) => (
document.querySelector(textarea[name="h-captcha-response"]).value = token;
const g = document.querySelector(textarea[name="g-recaptcha-response"]);
if (g) g.value = token;
), token);
Neu ban goi API backend truc tiep, chi can gui token trong tham so h-captcha-response cua request.
Meo de ty le thanh cong cao hon
- Giu user-agent nhat quan: dung cung mot userAgent khi giai captcha va khi submit form. Su sai lech de bi danh dau bat thuong.
- Xu ly rqdata cho Enterprise: neu trang co rqdata, luon truyen vao enterprisePayload. Thieu no token se bi tu choi.
- Poll lich su: cho 3-5 giay giua cac lan getTaskResult, dung spam lien tuc. Backoff nhe vua nhanh vua on dinh.
- Dung key-binding: mot task bi khoa voi API key da tao ra no; dung sai key se tra ERROR_TASK_KEY_MISMATCH.
- Dung token ngay: token hCaptcha co thoi han ngan (thuong khoang 2 phut), nen submit ngay sau khi nhan.
So sanh nhanh chi phi
Loai captcha - Gia (USD / 1000 luot)
hCaptcha - $0.60
reCAPTCHA v2 - $0.27
FunCaptcha (Arkose) - $0.27
GeeTest - $0.60
Cloudflare Turnstile - ho tro
OMOCaptcha dung AI thuan (khong co hang doi "human farm" , toc do giai trung binh 0.42s, do chinh xac len toi 99% va re hon khoang 20-40% so voi doi thu quoc te. Xem chi tiet o bang gia API giai captcha (https://blog.omocaptcha.com/bang-gia-api-giai-captcha) hoac muc pricing chinh thuc (https://omocaptcha.com/vi#pricing).
Neu ban cung can xu ly cac loai khac, tham khao them huong dan cach giai reCAPTCHA (https://blog.omocaptcha.com/cach-giai-recaptcha) va giai Cloudflare Turnstile (https://blog.omocaptcha.com/giai-cloudflare-turnstile). Con neu dang phan van chon nha cung cap, doc bai dich vu giai captcha tot nhat (https://blog.omocaptcha.com/dich-vu-giai-captcha-tot-nhat).
Luu y su dung co trach nhiem
Huong dan nay danh cho cac truong hop tu dong hoa hop phap: kiem thu QA/regression tren form cua chinh ban, ho tro tiep can (accessibility), giam sat uptime, load testing, hay thu thap du lieu duoc cap phep/hop dong. Hay ton trong robots.txt, dieu khoan dich vu (ToS) va gioi han tan suat cua website. Dung dung de tao tai khoan gia hang loat, gian lan hay ne tranh lenh cam. Ban co the tim hieu them ve hCaptcha tai tai lieu chinh thuc cua hCaptcha (https://docs.hcaptcha.com/).
FAQ
Task type chinh xac cho hCaptcha la gi?
Vi du trong bai dung HCaptchaTokenTask theo quy uoc token captcha. Vi day khong phai type da duoc xac nhan cung, ban nen kiem tra lai chuoi type chinh xac trong tai lieu API cua OMOCaptcha truoc khi trien khai production.
Token hCaptcha nam o dau trong solution?
Voi hCaptcha (va reCAPTCHA), token thuong nam o solution.gRecaptchaResponse. Mot so loai captcha khac tra token o solution.token. Cu doc dung truong tuong ung sau khi status la ready.
hCaptcha Enterprise co giai duoc khong?
Duoc. Neu trang co tham so rqdata, hay truyen no qua enterprisePayload khi tao task. Day la buoc bat buoc de token Enterprise duoc chap nhan.
Vi sao token bi tu choi du giai thanh cong?
Nguyen nhan pho bien nhat la user-agent khong khop giua luc giai va luc submit, token het han do submit qua tre, hoac thieu rqdata voi bien the Enterprise.
Gia giai hcaptcha bang python co khac Node.js khong?
Khong. Gia tinh theo so luot giai (hCaptcha la $0.60/1000), khong phu thuoc ngon ngu. Ban dung hcaptcha python hay Node.js deu goi chung mot endpoint va chung muc gia.
Bat dau ngay hom nay
Dang ky OMOCaptcha de nhan 1000 luot giai mien phi va tu dong hoa hCaptcha chi trong vai phut voi API, 6 SDK va tai lieu day du. Neu ty le thanh cong duoi 95%, ban duoc hoan tien theo cam ket SLA.
Xem them huong dan nhanh API giai captcha (https://blog.omocaptcha.com/huong-dan-nhanh-api-giai-captcha) de tich hop trong 5 phut, hoac truy cap ngay trang chu OMOCaptcha (https://omocaptcha.com/vi?utm_source=blog&utm_medium=organic). Co thac mac ky thuat? Email doi ngu ho tro 24/7 tai support@omocaptcha.com.
|
| 22.08.2026 02:10:54 |
|
6812 : JamesNen |
csgorun казино – азартные игры на предметы CS2. кейсы с разными ценами. контролируй бюджет. проверенная механика
Source:
https://runcase.org
|
| 21.08.2026 07:19:55 |
|
6811 : Bankeroma |
| БАНК-НЕВА помогает сравнить займы https://vk.ru/bankneyva
|
| 20.08.2026 18:31:21 |
|
6810 : JamesNen |
ксгоран зеркало – рабочая ссылка на сегодня. переходи по ссылке от бота. актуальные бонусы. стабильное соединение
Source:
https://csgorun.games
|
| 18.08.2026 09:56:43 |
|
6809 : mdrsoslkadact |
Только тут [url=http://fh79052q.bget.ru/index.php?subaction=userinfo&user=ivavuvaze]http://fh79052q.bget.ru/index.php?subaction=userinfo&user=ivavuvaze[/url]
http://torzhok.tverlib.ru/kollekciya-mebeli-granada-stil-i-garmoniya-v-interere
|
| 18.08.2026 09:43:34 |
|
6808 : DotNor |
I’ve been using this online dispensary by reason of throughout six months these days, and I even-handedly can’t presume universal back to traditional drugstores. The prices are significantly cut than what I used to pay off locally, unvaried with security, and they regularly offer discounts and steadfastness points that absolutely tote up up.
https://foro.asturmet.com/index.php?topic=778602.0
What rightfully sets them to one side is their customer support. I had a sound out there thinkable side effects of a advanced medication, and their licensed pharmacist responded via active chat within two minutes — sharp, professional, and barest reassuring. No automated bots, due real people who know what they’re talking about.
https://www.yelp.nl/user_details?userid=2vFol-XZgkmI25bYm-Jk9g
Expression is till the end of time on time, and I affaire de coeur that I can prints my sequence in authentic time. The packaging is capital, temperature-controlled when needed, and includes fine instructions and expiration dates.
https://www.grepmed.com/canadianpharmacyusanet77
|
| 17.08.2026 22:08:24 |
|
6807 : mdrsoslkadact |
Только тут [url=http://eicg.kz/index.php?subaction=userinfo&user=anajusihizaq]http://eicg.kz/index.php?subaction=userinfo&user=anajusihizaq[/url]
http://baskino.me/index.php?subaction=userinfo&user=uculedyrum
|
| 17.08.2026 18:22:47 |
|
6806 : mdrsosnazadact |
Только тут [url=http://sumkin.ru/forum/member.php?u=59229]http://sumkin.ru/forum/member.php?u=59229[/url]
http://gderabotaem.ru/company/kollekciya-granada-elegantnoe-reshenie-dlya-doma
|
| 16.08.2026 15:07:01 |
|
6805 : mdrsosnazadact |
Только тут [url=http://stolica-energo.ru/community/?PAGE_NAME=profile_view&UID=23269]http://stolica-energo.ru/community/?PAGE_NAME=profile_view&UID=23269[/url]
http://otdelka--stroy.ru/index.php?subaction=userinfo&user=ahagexiqacy
|
|
|
|