mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Store: Change ebookshop to use get_details.
This commit is contained in:
parent
3bb508bb1f
commit
93128ab03f
@ -73,7 +73,7 @@ class EBookShoppeUKStore(BasicStoreConfig, StorePlugin):
|
|||||||
|
|
||||||
yield s
|
yield s
|
||||||
|
|
||||||
def my_get_details(self, search_result, timeout):
|
def get_details(self, search_result, timeout):
|
||||||
br = browser()
|
br = browser()
|
||||||
with closing(br.open(search_result.detail_item, timeout=timeout)) as nf:
|
with closing(br.open(search_result.detail_item, timeout=timeout)) as nf:
|
||||||
idata = html.fromstring(nf.read())
|
idata = html.fromstring(nf.read())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user