[dt] replace 'text.parse_datetime()' & 'text.parse_timestamp()'
This commit is contained in:
@@ -55,7 +55,7 @@ class YiffverseExtractor(BooruExtractor):
|
||||
|
||||
def _prepare(self, post):
|
||||
post.pop("files", None)
|
||||
post["date"] = text.parse_datetime(
|
||||
post["date"] = self.parse_datetime(
|
||||
post["created"], "%Y-%m-%dT%H:%M:%S.%fZ")
|
||||
post["filename"], _, post["format"] = post["filename"].rpartition(".")
|
||||
if "tags" in post:
|
||||
|
||||
Reference in New Issue
Block a user