mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 11:14:02 +02:00
Merge branch 'master' of https://github.com/ConstrictM/calibre
This commit is contained in:
commit
80a4cb8a46
1 changed files with 2 additions and 2 deletions
|
|
@ -20,7 +20,7 @@
|
|||
from calibre.utils.monotonic import monotonic
|
||||
from calibre.utils.random_ua import accept_header_for_ua
|
||||
|
||||
current_version = (1, 0, 8)
|
||||
current_version = (1, 0, 9)
|
||||
minimum_calibre_version = (2, 80, 0)
|
||||
|
||||
|
||||
|
|
@ -252,7 +252,7 @@ def google_parse_results(root, raw, log=prints):
|
|||
cache_url_map = google_extract_cache_urls(raw)
|
||||
# print('\n'.join(cache_url_map))
|
||||
ans = []
|
||||
for div in root.xpath('//*[@id="search"]//*[@id="rso"]//*[@class="g"]'):
|
||||
for div in root.xpath('//*[@id="search"]//*[@id="rso"]//*[@class="kWxLod"]'):
|
||||
try:
|
||||
a = div.xpath('descendant::a[@href]')[0]
|
||||
except IndexError:
|
||||
|
|
|
|||
Loading…
Reference in a new issue