[dt] replace 'text.parse_datetime()' & 'text.parse_timestamp()'
This commit is contained in:
@@ -70,7 +70,7 @@ class BoothItemExtractor(BoothExtractor):
|
||||
url + ".json", headers=headers, interval=False)
|
||||
|
||||
item["booth_category"] = item.pop("category", None)
|
||||
item["date"] = text.parse_datetime(
|
||||
item["date"] = self.parse_datetime(
|
||||
item["published_at"], "%Y-%m-%dT%H:%M:%S.%f%z")
|
||||
item["tags"] = [t["name"] for t in item["tags"]]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user