r/webscraping • u/iCryptoDude • 13d ago
Bot detection 🤖 Beating gateway blocks with a browser worker
Small project, but the scraping side was the interesting bit.
I wanted to follow every NFT link in the 250 biggest collections on Stacks, from the contract to the metadata to the image, and see which still load. The marketplace API and most IPFS gateways wouldn't answer a normal script, so the checker runs as code in a browser tab. Browsers throttle tabs you aren't looking at, so a background worker keeps it ticking. Each file gets tried on several gateways before it's marked dead.
Result: 34 of 241 art collections can't reach their files. Own servers 9 of 16 broken, IPFS 4 of 203.
How would you have handled the gateway blocking? Write-up: https://xtrata.xyz/a/3654
I build Xtrata, the on-chain storage layer the write-up is inscribed with, so read it knowing that.