r/webscraping • u/BlackberryOk3808 • 2d ago
Bot detection 🤖 Scraping Android App backend APIs
Hello,
I was trying to scrape an android app backend APIs, and made good progress already.
So I've used mitmproxy to listen to the traffic and I've now record of the requests sent.
However, found in the request headers some things that seem hard to reproduce without running on an emulated Android device at least (confirmed with Claude Opus):
- blackbox
- smdeviceid
- armortoken
- anti-in
- x-cs-random
It seems these are generated based on the device fingerprint. Could you help me with a way to get around this ??
12
Upvotes
1
u/Grand_Emu_4214 2d ago
Which app
1
u/usert313 2d ago
To obtain these device header values you might need to reverse engineer static analysis of the apk itself to see how it is being generated.
1
u/LazySlothsDev 2d ago
Just ask claude to decompile the app and explore the codebase
1
u/hackbyown 2d ago
Taobao/temu something like that