[dt] replace 'text.parse_datetime()' & 'text.parse_timestamp()'
This commit is contained in:
@@ -29,7 +29,7 @@ class LofterExtractor(Extractor):
|
||||
post = post["post"]
|
||||
|
||||
post["blog_name"] = post["blogInfo"]["blogName"]
|
||||
post["date"] = text.parse_timestamp(post["publishTime"] // 1000)
|
||||
post["date"] = self.parse_timestamp(post["publishTime"] // 1000)
|
||||
post_type = post["type"]
|
||||
|
||||
# Article
|
||||
|
||||
Reference in New Issue
Block a user