From dcd9744809e3f9220fb6955a808f8744b70315f0 Mon Sep 17 00:00:00 2001 From: MillenniumEarl Date: Sun, 21 Mar 2021 22:00:27 +0100 Subject: [PATCH] Fix cover assignment --- src/scripts/scrape-data/handiwork-parse.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/scrape-data/handiwork-parse.ts b/src/scripts/scrape-data/handiwork-parse.ts index 1d34cf7..b1c3391 100644 --- a/src/scripts/scrape-data/handiwork-parse.ts +++ b/src/scripts/scrape-data/handiwork-parse.ts @@ -193,7 +193,7 @@ function fillWithPostData(hw: HandiWork, elements: IPostElement[]) { ?.text?.split(",") .map((s) => s.trim()); hw.version = getPostElementByName(elements, "version")?.text; - hw.installation = getPostElementByName(elements, "installation")?.content.shift()?.text; + hw.installation = getPostElementByName(elements, "installation")?.text; hw.pages = getPostElementByName(elements, "pages")?.text; hw.resolution = getPostElementByName(elements, "resolution") ?.text?.split(",")