Fix some comics.

This commit is contained in:
Bastian Kleineidam 2013-02-18 20:55:54 +01:00
parent 75b1d6c08d
commit 8e2a01f19f
3 changed files with 5 additions and 4 deletions

View file

@ -138,7 +138,7 @@ class DieselSweeties(_BasicScraper):
class DominicDeegan(_BasicScraper):
url = 'http://www.dominic-deegan.com/'
stripUrl = url + 'view.php?date=%s'
imageSearch = compile(tagre("img", "src", r'(comics/\d+\.gif)'))
imageSearch = compile(tagre("img", "src", r'(comics/[^"]+)'))
prevSearch = compile(r'"(view.php\?date=[^"]+)".+?prev21')
help = 'Index format: yyyy-mm-dd'

View file

@ -31,7 +31,8 @@ class GUComics(_BasicScraper):
url = 'http://www.gucomics.com/comic/'
stripUrl = url + '?cdate=%s'
imageSearch = compile(tagre("img", "src", r'(/comics/\d{4}/gu_[^"]+)'))
prevSearch = compile(tagre("a", "href", r'(/comic/\?cdate=\d+)') + '< Prev')
prevSearch = compile(tagre("a", "href", r'(/comic/\?cdate=\d+)') +
tagre("img", "src", r'/images/nav/prev\.png'))
help = 'Index format: yyyymmdd'
@ -46,7 +47,7 @@ class GirlGenius(_BasicScraper):
class GirlsWithSlingshots(_BasicScraper):
url = 'http://www.girlswithslingshots.com/'
stripUrl = url + 'comic/gws-%s/'
imageSearch = compile(tagre("img", "src", r'(http://cdn\.girlswithslingshots\.com/comics/[^"]+)'))
imageSearch = compile(tagre("img", "src", r'(http://(?:www|cdn)\.girlswithslingshots\.com/comics/[^"]+)'))
prevSearch = compile(tagre("a", "href", r'(http://www\.girlswithslingshots\.com/comic/[^"]+)', after="prev"))
help = 'Index format: nnn'

View file

@ -19,7 +19,7 @@ class PandyLand(_BasicScraper):
class ParadigmShift(_BasicScraper):
url = 'http://www.paradigmshiftmanga.com/'
starter = indirectStarter(url, compile(tagre("a", "href", r'([^"]+)', after="next-comic-link")))
imageUrl = url + 'ps/%s.html'
stripUrl = url + 'ps/%s.html'
imageSearch = compile(tagre("img", "src", r'([^"]*comics/ps/[^"]*)'))
prevSearch = compile(tagre("a", "href", r'([^"]+)', after="previous-comic-link"))
help = 'Index format: custom'