reddit-html-archiver icon indicating copy to clipboard operation
reddit-html-archiver copied to clipboard

Error on fetch_links.py every time

Open FaolanX opened this issue 4 years ago • 3 comments
trafficstars

Traceback (most recent call last): File "fetch_links.py", line 219, in fetch_links(args.subreddit, args.date_start, args.date_stop, args.limit, args.score, self_only) File "fetch_links.py", line 71, in fetch_links comments_results = list(api.search_comments(**comment_params)) File "C:\Python38\lib\site-packages\psaw\PushshiftAPI.py", line 238, in _search for response in self._handle_paging(url): File "C:\Python38\lib\site-packages\psaw\PushshiftAPI.py", line 218, in _handle_paging received_size = int(data['metadata']['size']) KeyError: 'metadata'

Python 3.8.5 on Windows amd64

FaolanX avatar Mar 10 '21 18:03 FaolanX

I get the same error.

Tobbinloggin avatar Apr 15 '21 19:04 Tobbinloggin

Pushshift has been all messed up lately. You can try skipping over that post/date.

libertysoft3 avatar Apr 21 '21 18:04 libertysoft3