[sankaku] normalize 'created_at' metadata (closes #1190)
This commit is contained in:
@@ -46,7 +46,8 @@ class SankakuExtractor(BooruExtractor):
|
|||||||
SankakuExtractor._warning = False
|
SankakuExtractor._warning = False
|
||||||
if extended_tags:
|
if extended_tags:
|
||||||
self._fetch_extended_tags(post)
|
self._fetch_extended_tags(post)
|
||||||
post["date"] = text.parse_timestamp(post["created_at"]["s"])
|
post["created_at"] = post["created_at"]["s"]
|
||||||
|
post["date"] = text.parse_timestamp(post["created_at"])
|
||||||
post["tags"] = [tag["name"] for tag in post["tags"]]
|
post["tags"] = [tag["name"] for tag in post["tags"]]
|
||||||
return url
|
return url
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user