From 14294b0b2b0cf7cc8aa2c854d612378211057b1a Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Thu, 16 Aug 2018 19:43:02 +0300 Subject: [PATCH] Replace Staff with Stave The item classes in the game are pluralized. For most classes the singular form matches as well, but the plural of staff is staves. --- scrape-item-data.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scrape-item-data.py b/scrape-item-data.py index ab8bc09..e788837 100755 --- a/scrape-item-data.py +++ b/scrape-item-data.py @@ -163,6 +163,8 @@ class ItemDataParser(html.parser.HTMLParser): if self.in_heading: self.current_heading = data + if self.current_heading=="Staff": + self.current_heading = "Stave" self.headings.append(self.current_heading) elif self.in_items_table and self.in_cell: if self.mod_row: -- 2.45.2