From 31e868fca1185b5d067810a15f5df4e0c47e2b20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Tue, 12 Jul 2022 18:31:31 +0200 Subject: [PATCH] [khinsider] extract 'platform' metadata --- gallery_dl/extractor/khinsider.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gallery_dl/extractor/khinsider.py b/gallery_dl/extractor/khinsider.py index e7827b1c..d2e9d88c 100644 --- a/gallery_dl/extractor/khinsider.py +++ b/gallery_dl/extractor/khinsider.py @@ -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("

", "<")), + "platform": extr("Platforms: ")[2], "count": text.parse_int(extr("Number of Files: ", "<")), "size" : text.parse_bytes(extr("Total Filesize: ", "<")[:-1]), "date" : extr("Date Added: ", "<"),