mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 11:14:02 +02:00
Update libri.de
This commit is contained in:
commit
13f057cd99
1 changed files with 2 additions and 2 deletions
|
|
@ -1,7 +1,7 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
from __future__ import (unicode_literals, division, absolute_import, print_function)
|
||||
store_version = 1 # Needed for dynamic plugin loading
|
||||
store_version = 2 # Needed for dynamic plugin loading
|
||||
|
||||
__license__ = 'GPL 3'
|
||||
__copyright__ = '2011, John Schember <john@nachtimwald.com>'
|
||||
|
|
@ -53,7 +53,7 @@ def search(self, query, max_results=10, timeout=60):
|
|||
if counter <= 0:
|
||||
break
|
||||
|
||||
details = data.xpath('./div[@class="articleinfobox"]')
|
||||
details = data.xpath('./div[contains(@class, "articleinfobox")]')
|
||||
if not details:
|
||||
continue
|
||||
details = details[0]
|
||||
|
|
|
|||
Loading…
Reference in a new issue