Traceback (most recent call last):File "data-retrieval.py", line 169, in <module>subreddits = get_subreddits()File "data-retrieval.py", line 38, in get_subredditsnew_subreddits, after = parse_subreddits(data)File "data-retrieval.py", line 47, in parse_subredditsfor listing in data["data"]["children"]:
I'm getting the following error:
Traceback (most recent call last):
File "data-retrieval.py", line 169, in <module>
subreddits = get_subreddits()
File "data-retrieval.py", line 38, in get_subreddits
new_subreddits, after = parse_subreddits(data)
File "data-retrieval.py", line 47, in parse_subreddits
for listing in data["data"]["children"]: