added Sithrah

This commit is contained in:
Damjan Košir 2015-06-04 19:24:55 +12:00
parent 010b4bf669
commit c98800388e

View file

@ -7,11 +7,14 @@ def add(name, url, firstUrl=None, starter=None, lang=None):
attrs = dict( attrs = dict(
name=name, name=name,
url=url, url=url,
imageSearch='//div[@id="comic"]//img', imageSearch=['//div[@id="comic"]//img',
prevSearch=['//a[contains(text(), " Prev")]', '//div[@class="webcomic-image"]//img'],
prevSearch=["//a[contains(concat(' ', text(), ' '), ' Prev ')]",
"//a[contains(concat(' ', text(), ' '), ' Previous ')]",
"//a[contains(concat(' ', @class, ' '), ' navi-prev ')]", "//a[contains(concat(' ', @class, ' '), ' navi-prev ')]",
"//a[contains(concat(' ', @class, ' '), ' navi-prev-in ')]", "//a[contains(concat(' ', @class, ' '), ' navi-prev-in ')]",
"//a[contains(concat(' ', @class, ' '), ' navi-previous ')]"] "//a[contains(concat(' ', @class, ' '), ' navi-previous ')]",
"//a[contains(concat(' ', @class, ' '), ' previous-webcomic-link ')]"]
) )
if lang: if lang:
attrs['lang'] = lang attrs['lang'] = lang
@ -52,6 +55,7 @@ add('Nicky510', 'http://www.nickyitis.com/')
add('OnTheEdge', 'http://ontheedgecomics.com/', 'comic/ote0001/') add('OnTheEdge', 'http://ontheedgecomics.com/', 'comic/ote0001/')
add('PandyLand', 'http://pandyland.net/', '1/') add('PandyLand', 'http://pandyland.net/', '1/')
add('SailorsunOrg', 'http://sailorsun.org/') add('SailorsunOrg', 'http://sailorsun.org/')
add('Sithrah', 'http://sithrah.com/')
add('SlightlyDamned', 'http://www.sdamned.com/') add('SlightlyDamned', 'http://www.sdamned.com/')
add('SPQRBlues', 'http://spqrblues.com/IV/') add('SPQRBlues', 'http://spqrblues.com/IV/')
add('TheDreamlandChronicles', 'http://www.thedreamlandchronicles.com/') add('TheDreamlandChronicles', 'http://www.thedreamlandchronicles.com/')