[dt] replace 'text.parse_datetime()' & 'text.parse_timestamp()'
This commit is contained in:
@@ -122,7 +122,7 @@ class GelbooruV02Extractor(booru.BooruExtractor):
|
||||
|
||||
def _prepare(self, post):
|
||||
post["tags"] = post["tags"].strip()
|
||||
post["date"] = text.parse_datetime(
|
||||
post["date"] = self.parse_datetime(
|
||||
post["created_at"], "%a %b %d %H:%M:%S %z %Y")
|
||||
|
||||
def _html(self, post):
|
||||
|
||||
Reference in New Issue
Block a user