From f0a60af04af7bc7d77cfb1df051d783921400132 Mon Sep 17 00:00:00 2001 From: meisnate12 Date: Sat, 13 Nov 2021 23:33:42 -0500 Subject: [PATCH] TVDb Invalid predicate Fix --- modules/tvdb.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: