This commit is contained in:
Luke Ogburn
2022-04-13 23:05:35 -04:00
parent c36e3d75ff
commit 77ddf46378

View File

@@ -29,6 +29,8 @@ class reddit_scraper:
for p in posts[::-1]:
if helper.ts_older(self.seent[sub], p.created):
break
else:
print(f"helper.ts_older({self.seent[sub]}, {p.created})")
logging.info(f"Scraping post {p.id}")
post_list.append(p)
self.seent[sub] = p.created