feat: add conditional handling for ARRAY mode in BookGrabber

This commit is contained in:
2024-11-27 13:53:00 +01:00
parent 28bcbdd97c
commit 8876f1279e

View File

@@ -61,9 +61,12 @@ class BookGrabber(QThread):
continue continue
bd = BibTextTransformer(self.mode) bd = BibTextTransformer(self.mode)
if self.use_exact: print(webdata)
bd = bd.use_signature(entry) if self.mode == "ARRAY":
bd = bd.get_data(webdata).return_data() if self.use_exact:
bd = bd.use_signature(entry)
bd = bd.get_data(webdata).return_data()
print(bd)
if bd is None: if bd is None:
# bd = BookData # bd = BookData
continue continue