diff --git a/modules/tvdb.py b/modules/tvdb.py index 24f1f509..d3cc2b3b 100644 --- a/modules/tvdb.py +++ b/modules/tvdb.py @@ -70,8 +70,8 @@ class TVDbObj: def parse_title_summary(lang=None): place = "//div[@class='change_translation_text' and " - place += f"@data-language='{lang}'" if lang else "not(@style='display:none')" - return parse_page(f"{place}/@data-title"), parse_page(f"{place}]/p/text()[normalize-space()]") + place += f"@data-language='{lang}']" if lang else "not(@style='display:none')]" + return parse_page(f"{place}/@data-title"), parse_page(f"{place}/p/text()[normalize-space()]") self.title, self.summary = parse_title_summary(lang=self.language) if not self.title and self.language in language_translation: