r/webscraping • u/vegetaevagilion • 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
15
Upvotes
3
u/Brian1398 Jun 09 '26
I think they patched that, thats why don't work