[dt] replace 'text.parse_datetime()' & 'text.parse_timestamp()'
This commit is contained in:
@@ -31,7 +31,7 @@ class PostmillExtractor(BaseExtractor):
|
||||
|
||||
title = text.unescape(extr(
|
||||
'<meta property="og:title" content="', '">'))
|
||||
date = text.parse_datetime(extr(
|
||||
date = self.parse_datetime(extr(
|
||||
'<meta property="og:article:published_time" content="', '">'))
|
||||
username = extr(
|
||||
'<meta property="og:article:author" content="', '">')
|
||||
|
||||
Reference in New Issue
Block a user