better prevSearch for comic press

This commit is contained in:
Damjan Košir 2015-05-20 23:08:02 +12:00
parent 79d775a8d9
commit 77c5dbce9b

View file

@ -7,7 +7,7 @@ def add(name, url, firstUrl=None, lang=None):
name = name, name = name,
url = url, url = url,
imageSearch = '//div[@id="comic"]//img', imageSearch = '//div[@id="comic"]//img',
prevSearch = u'//a[text()=" Prev"]', prevSearch = u'//a[contains(text(), " Prev")]',
) )
if lang: if lang:
attrs['lang'] = lang attrs['lang'] = lang