diff --git a/src/calibre/gui2/store/stores/nexto_plugin.py b/src/calibre/gui2/store/stores/nexto_plugin.py index c05f2c2e3f..a7f8e7811c 100644 --- a/src/calibre/gui2/store/stores/nexto_plugin.py +++ b/src/calibre/gui2/store/stores/nexto_plugin.py @@ -76,7 +76,7 @@ class NextoStore(BasicStoreConfig, StorePlugin): title = re.sub(r' – ebook', '', title) author = ', '.join(data.xpath('.//div[@class="col-7"]//h4//a/text()')) formats = ', '.join(data.xpath('.//ul[@class="formats"]/li//b/text()')) - DrmFree = re.search(r'znak', type('')(data.xpath('.//ul[@class="formats"]/li//b/@title'))) + DrmFree = data.xpath('.//ul[@class="formats"]/li//b[contains(@title, "znak")]') counter -= 1