[dt] replace 'text.parse_datetime()' & 'text.parse_timestamp()'
This commit is contained in:
@@ -78,7 +78,7 @@ class BoostyExtractor(Extractor):
|
||||
post["links"] = links = []
|
||||
|
||||
if "createdAt" in post:
|
||||
post["date"] = text.parse_timestamp(post["createdAt"])
|
||||
post["date"] = self.parse_timestamp(post["createdAt"])
|
||||
|
||||
for block in post["data"]:
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user