[dt] replace 'text.parse_datetime()' & 'text.parse_timestamp()'
This commit is contained in:
@@ -67,7 +67,7 @@ class SankakuExtractor(BooruExtractor):
|
||||
|
||||
def _prepare(self, post):
|
||||
post["created_at"] = post["created_at"]["s"]
|
||||
post["date"] = text.parse_timestamp(post["created_at"])
|
||||
post["date"] = self.parse_timestamp(post["created_at"])
|
||||
post["tags"] = post.pop("tag_names", ())
|
||||
post["tag_string"] = " ".join(post["tags"])
|
||||
post["_http_validate"] = self._check_expired
|
||||
|
||||
Reference in New Issue
Block a user