Skip to content

Commit

Permalink
fix bgg parser
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name authored and alphatownsman committed Jul 23, 2024
1 parent fa1de0f commit c364c01
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions catalog/sites/bgg.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,6 @@ def scrape(self):
localized_title = [
{"lang": detect_language(t), "text": t} for t in [title] + other_title
]
zh_title = [
t["text"] for t in localized_title if t["lang"] in ["zh", "zh-cn", "zh-tw"]
]
title = zh_title[0] if zh_title else other_title[0]
cover_image_url = self.query_str(item, "image/text()")
brief = html.unescape(self.query_str(item, "description/text()"))
year = self.query_str(item, "yearpublished/@value")
Expand Down

0 comments on commit c364c01

Please sign in to comment.