[fantia] add 'date' metadata field (#1853)
This commit is contained in:
@@ -66,6 +66,7 @@ class FantiaExtractor(Extractor):
|
|||||||
"comment": resp["comment"],
|
"comment": resp["comment"],
|
||||||
"rating": resp["rating"],
|
"rating": resp["rating"],
|
||||||
"posted_at": resp["posted_at"],
|
"posted_at": resp["posted_at"],
|
||||||
|
"date": text.parse_datetime(resp["posted_at"], "%a, %d %b %Y %H:%M:%S %z"),
|
||||||
"fanclub_id": resp["fanclub"]["id"],
|
"fanclub_id": resp["fanclub"]["id"],
|
||||||
"fanclub_user_id": resp["fanclub"]["user"]["id"],
|
"fanclub_user_id": resp["fanclub"]["user"]["id"],
|
||||||
"fanclub_user_name": resp["fanclub"]["user"]["name"],
|
"fanclub_user_name": resp["fanclub"]["user"]["name"],
|
||||||
|
|||||||
Reference in New Issue
Block a user