[nijie] fix 'date' parsing

pull/511/head
Mike Fährmann 5 years ago
parent 3bba763ab9
commit e62c209ca0
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

@ -69,8 +69,8 @@ class NijieExtractor(AsynchronousMixin, Extractor):
"description": text.unescape(extr(
'"description": "', '"').replace("&", "&")),
"date" : text.parse_datetime(extr(
'"datePublished": "', '"')[:-4] + "+0900",
"%a %d %b %Y %I:%M:%S %p%z"),
'"datePublished": "', '"') + "+0900",
"%a %b %d %H:%M:%S %Y%z"),
"artist_id" : text.parse_int(extr(
'"sameAs": "https://nijie.info/members.php?id=', '"')),
"artist_name": keywords[1],

Loading…
Cancel
Save