fixed LoadingArtist

This commit is contained in:
Damjan Košir 2015-06-01 11:33:50 +12:00
parent e268b09567
commit ea6cb925a6

View file

@ -77,15 +77,10 @@ class LittleGamers(_BasicScraper):
help = 'Index format: yyyy/mm/dd/name' help = 'Index format: yyyy/mm/dd/name'
class LoadingArtist(_BasicScraper): class LoadingArtist(_ParserScraper):
url = 'http://www.loadingartist.com/' url = 'http://www.loadingartist.com/comic/new-update/'
rurl = escape(url) imageSearch = '//div[@class="comic"]//img'
stripUrl = url + '%s/' prevSearch = "//a[contains(concat(' ', @class, ' '), ' prev ')]"
firstStripUrl = stripUrl % '2011/01/04/born'
imageSearch = compile(tagre("img", "src", r'(%swp-content/uploads/\d+/\d+/[^"]+)' % rurl))
prevSearch = compile(tagre("a", "href", r'(%s\d+/\d+/\d+/[^"]+/)' % rurl, after="prev"))
help = 'Index format: yyyy/mm/dd/stripname'
class LookingForGroup(_ParserScraper): class LookingForGroup(_ParserScraper):
url = 'http://www.lfgcomic.com/' url = 'http://www.lfgcomic.com/'