[khinsider] extract 'platform' metadata

pull/2757/head
Mike Fährmann 2 years ago
parent c6a9bab019
commit 31e868fca1
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

@ -30,7 +30,8 @@ class KhinsiderSoundtrackExtractor(AsynchronousMixin, Extractor):
"album": {
"count": 1,
"date": "Sep 18th, 2016",
"name": "Horizon Riders (Wii)",
"name": "Horizon Riders",
"platform": "Wii",
"size": 26214400,
"type": "Gamerip",
},
@ -60,6 +61,7 @@ class KhinsiderSoundtrackExtractor(AsynchronousMixin, Extractor):
extr = text.extract_from(page)
return {"album": {
"name" : text.unescape(extr("<h2>", "<")),
"platform": extr("Platforms: <a", "<").rpartition(">")[2],
"count": text.parse_int(extr("Number of Files: <b>", "<")),
"size" : text.parse_bytes(extr("Total Filesize: <b>", "<")[:-1]),
"date" : extr("Date Added: <b>", "<"),

Loading…
Cancel
Save