[desktopography] simplify (#1740)

This commit is contained in:
Mike Fährmann
2021-09-17 20:09:24 +02:00
parent 4a7d7899ff
commit e4684c5cb9
5 changed files with 46 additions and 95 deletions

View File

@@ -66,7 +66,8 @@ class FantiaExtractor(Extractor):
"comment": resp["comment"],
"rating": resp["rating"],
"posted_at": resp["posted_at"],
"date": text.parse_datetime(resp["posted_at"], "%a, %d %b %Y %H:%M:%S %z"),
"date": text.parse_datetime(
resp["posted_at"], "%a, %d %b %Y %H:%M:%S %z"),
"fanclub_id": resp["fanclub"]["id"],
"fanclub_user_id": resp["fanclub"]["user"]["id"],
"fanclub_user_name": resp["fanclub"]["user"]["name"],