How to bypass aggressive forced CAPTCHA on a dynamic academic repository (CUHK)?
Hi everyone,
I am building an automated scraper for an academic repository (https://repository.lib.cuhk.edu.hk/en/collection/etd/year), which structures resources by year. However, we've hit a hard block.
Here is the situation:
- Aggressive CAPTCHA: The site uses a mandatory CAPTCHA (image verification) system that triggers for almost every visit, regardless of whether it's a real human browser or a bot.
- AI/Agent Failure: Our automated agents attempted to solve the image verification multiple times but were consistently blocked.
- JS-Heavy: The site is heavily reliant on JavaScript to load the actual item lists, making simple HTTP requests (
requests/curl) useless.
My Questions:
- What is the state-of-the-art stack for bypassing such aggressive image CAPTCHAs in a fully automated Python pipeline today? (e.g., combining
undetected-chromedriverwith a specific solver service?) - Since this is an academic repository, it likely supports OAI-PMH. Does anyone have experience bypassing the frontend completely by finding standard API endpoints (like
/oai/request) on similar library systems? - Any specific configuration recommendations for browser automation to reduce the CAPTCHA difficulty/frequency on this specific type of site?
Thanks in advance for any insights!
What is the CAPTCHA provider? reCaptcha? or hCaptcha? or a self baked solution?
EDIT
Sorry , you provided a URL, it looks like its going to awswaf... the solution itself isnt that hard to get around , obviously time and effort , i havent, personally tried to do this myself... ive never seen it before, you could either
a) find a 3rd party that solves this for you b) reverse engineer and solve it yourself
looking at the payload, i think the images are the "client solution" , and the rest will be part of the javascript , it could be easy if there is no javascript vm... but yea would require investigation
worth pinning down what the challenge actually is first, because cloudscraper only handles Cloudflare's IUAM — it won't touch a captcha the site itself renders. if it's a plain distorted-text image captcha, you'd OCR it (or hand it to an image-captcha solver that returns the text); if it's a click-the-images grid, you send the image + instruction and get back the tiles; if it's reCAPTCHA/Turnstile that's a token flow. screenshot the block and check which of those it is — they need completely different approaches, and "aggressive forced captcha" on an academic repo is usually a simple image one rather than reCAPTCHA. I work on CaptchaAI (image/OCR captchas + reCAPTCHA, 2captcha-compatible) — happy to look at the CUHK one if you can share what it looks like.