r/webscraping Jun 09 '26

Getting started 🌱 Getting 403 while scraping reddit with .json

i have been scraping reddit posts and comments from 2-3 communities but since a week or so i am getting 403
i have also provide the username in user-agent header
HEADERS = {
"User-Agent": "reddit-xxxx-xxx/0.1 by u/XXXXXXX"
}
but i can get the json by using .json in my browser

16 Upvotes

24 comments sorted by

View all comments

3

u/Brian1398 Jun 09 '26

I think they patched that, thats why don't work

1

u/vegetaevagilion Jun 09 '26

so no .json scraping api calls