[dt] replace 'text.parse_datetime()' & 'text.parse_timestamp()'
This commit is contained in:
@@ -36,7 +36,7 @@ class PhilomenaExtractor(BooruExtractor):
|
||||
return url
|
||||
|
||||
def _prepare(self, post):
|
||||
post["date"] = text.parse_datetime(
|
||||
post["date"] = self.parse_datetime(
|
||||
post["created_at"][:19], "%Y-%m-%dT%H:%M:%S")
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user