testing
This commit is contained in:
@@ -29,6 +29,8 @@ class reddit_scraper:
|
|||||||
for p in posts[::-1]:
|
for p in posts[::-1]:
|
||||||
if helper.ts_older(self.seent[sub], p.created):
|
if helper.ts_older(self.seent[sub], p.created):
|
||||||
break
|
break
|
||||||
|
else:
|
||||||
|
print(f"helper.ts_older({self.seent[sub]}, {p.created})")
|
||||||
logging.info(f"Scraping post {p.id}")
|
logging.info(f"Scraping post {p.id}")
|
||||||
post_list.append(p)
|
post_list.append(p)
|
||||||
self.seent[sub] = p.created
|
self.seent[sub] = p.created
|
||||||
|
|||||||
Reference in New Issue
Block a user