From 50ff84eb318832d2bfa87f0432b1e4ddbdad0f51 Mon Sep 17 00:00:00 2001 From: MillenniumEarl Date: Tue, 2 Mar 2021 19:10:09 +0100 Subject: [PATCH] Use new method to get post from thread --- 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 0a1e81e..c2838bc 100644 --- a/src/scripts/scrape-data/handiwork-parse.ts +++ b/src/scripts/scrape-data/handiwork-parse.ts @@ -38,7 +38,7 @@ export default async function getHandiworkInformation(url: str fillWithPrefixes(hw, thread.prefixes); // Fetch info from first post - const post = thread.posts.find(p => p.id === 1); + const post = await thread.getPost(1); fillWithPostData(hw, post.body); return hw;