[dt] replace 'text.parse_datetime()' & 'text.parse_timestamp()'
This commit is contained in:
@@ -97,7 +97,7 @@ class ReactorExtractor(BaseExtractor):
|
||||
return
|
||||
|
||||
num = 0
|
||||
date = text.parse_datetime(data["datePublished"])
|
||||
date = self.parse_datetime(data["datePublished"])
|
||||
user = data["author"]["name"]
|
||||
description = text.unescape(data["description"])
|
||||
title, _, tags = text.unescape(data["headline"]).partition(" / ")
|
||||
|
||||
Reference in New Issue
Block a user