Elektrine lite

← Feed

MANHADEVb

MANHADEVb@lemmy.world

Posts

  • View post

    Reddit blocked my scraper with a 403, so I built a collector for 6 open APIs instead (Python) I was building a small tool to collect posts and comments about a topic and save them as JSON. The plan was to use Reddit, but scripts get a 403 from the .json endpoint that works fine in the browser. I tried the legitimate things (own User-Agent, full headers) and even a client that mimics Chrome. All blocked, and the official API needs prior approval. I decided not to work around it. So I switched...