Add ShadesOfGray
This commit is contained in:
parent
5317cbd3ec
commit
6576dd7ec7
1 changed files with 14 additions and 0 deletions
|
@ -180,6 +180,20 @@ class SexyLosers(_ParserScraper):
|
||||||
namer = joinPathPartsNamer((-2,), (-1,), '-')
|
namer = joinPathPartsNamer((-2,), (-1,), '-')
|
||||||
|
|
||||||
|
|
||||||
|
class ShadesOfGray(_ParserScraper):
|
||||||
|
url = 'https://www.theduckwebcomics.com/Shades_of_Gray/'
|
||||||
|
stripUrl = url + '%s/'
|
||||||
|
firstStripUrl = stripUrl % '4820502'
|
||||||
|
imageSearch = '//div[@id="comic"]/img'
|
||||||
|
prevSearch = '//a[img[@class="arrow_prev"]]'
|
||||||
|
nextSearch = '//a[img[@class="arrow_next"]]'
|
||||||
|
starter = bounceStarter
|
||||||
|
endOfLife = True
|
||||||
|
|
||||||
|
def namer(self, imageUrl, pageUrl):
|
||||||
|
return pageUrl.rstrip('/').rsplit('/', 1)[-1]
|
||||||
|
|
||||||
|
|
||||||
class Sharksplode(_WordPressScraper):
|
class Sharksplode(_WordPressScraper):
|
||||||
url = 'http://sharksplode.com/'
|
url = 'http://sharksplode.com/'
|
||||||
textSearch = '//div[@id="comic"]//img/@alt'
|
textSearch = '//div[@id="comic"]//img/@alt'
|
||||||
|
|
Loading…
Reference in a new issue