From 317f7762106d7e87c97cce100c43d35996daefc7 Mon Sep 17 00:00:00 2001 From: Yoon Date: Mon, 7 Dec 2020 21:51:31 +0900 Subject: [PATCH] Update in PUBLISH_DATE_TAGS for date extraction --- newspaper/extractors.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/newspaper/extractors.py b/newspaper/extractors.py index 962554014..5049b01da 100644 --- a/newspaper/extractors.py +++ b/newspaper/extractors.py @@ -206,6 +206,8 @@ def parse_date_str(date_str): 'content': 'datetime'}, {'attribute': 'property', 'value': 'og:published_time', 'content': 'content'}, + {'attribute': 'property', 'value': 'og:regDate', + 'content': 'content'}, {'attribute': 'name', 'value': 'article_date_original', 'content': 'content'}, {'attribute': 'name', 'value': 'publication_date',