Fix Girls with Slingshots matchers (#136)

Domain name and URLs have changed slightly.

Fixes #105.
This commit is contained in:
Mikkel Høgh 2019-06-26 23:22:45 +02:00 committed by Tobias Gruetzmacher
parent 51013e2f1f
commit 78ac7144b2

View file

@ -83,7 +83,7 @@ class GirlGenius(_BasicScraper):
class GirlsWithSlingshots(_BasicScraper): class GirlsWithSlingshots(_BasicScraper):
url = 'http://www.girlswithslingshots.com/' url = 'https://girlswithslingshots.com/'
rurl = escape(url) rurl = escape(url)
stripUrl = url + 'comic/%s' stripUrl = url + 'comic/%s'
firstStripUrl = stripUrl % 'gws1' firstStripUrl = stripUrl % 'gws1'
@ -93,7 +93,7 @@ class GirlsWithSlingshots(_BasicScraper):
r'(http://cdn\.girlswithslingshots\.com/comics/[^"]+)')), r'(http://cdn\.girlswithslingshots\.com/comics/[^"]+)')),
) )
prevSearch = compile(tagre("a", "href", r'(%scomic/[^"]+)' % rurl, prevSearch = compile(tagre("a", "href", r'(%scomic/[^"]+)' % rurl,
after="prev")) before='rel="prev"'))
help = 'Index format: stripname' help = 'Index format: stripname'