diff --git a/src/scripts/scrape-data/handiwork-parse.ts b/src/scripts/scrape-data/handiwork-parse.ts index 764a904..1d34cf7 100644 --- a/src/scripts/scrape-data/handiwork-parse.ts +++ b/src/scripts/scrape-data/handiwork-parse.ts @@ -206,7 +206,7 @@ function fillWithPostData(hw: HandiWork, elements: IPostElement[]) { if (censored) hw.censored = stringToBoolean(censored.text); // Get the genres - const genre = getPostElementByName(elements, "genre")?.content.shift()?.text; + const genre = getPostElementByName(elements, "genre")?.text; hw.genre = genre ?.split(",") .map((s) => s.trim())