Add BrentalFloss.

"Flossed in Time" does not work ATM since there are errors in the image
URL.
This commit is contained in:
Tobias Gruetzmacher 2013-03-03 17:32:01 +01:00
parent 89f1170ff4
commit 5c85e9a2f2

View file

@ -90,6 +90,31 @@ class BratHalla(_BasicScraper):
help = 'Index format: non' help = 'Index format: non'
class BrentalFloss(_BasicScraper):
url = 'http://brentalflossthecomic.com/'
stripUrl = url + '?id=%s'
imageSearch = compile(tagre("img", "src", r'([^"]*/img/comic/[^"]*)'))
prevSearch = compile(tagre("a", "href", r'([^"]*)') + "Prev")
help = 'Index format: n'
class BrentalFlossFit(BrentalFloss):
name = 'BrentalFloss/FlossedInTime'
url = 'http://brentalflossthecomic.com/fit/'
stripUrl = url + '?id=%s'
@classmethod
def prevUrlModifier(cls, prevUrl):
if prevUrl:
return prevUrl.replace("\n", "")
class BrentalFlossGuest(BrentalFloss):
name = 'BrentalFloss/GuestComics'
url = 'http://brentalflossthecomic.com/guestcomics/'
stripUrl = url + '?id=%s'
class Brink(_BasicScraper): class Brink(_BasicScraper):
url = 'http://paperfangs.com/brink/' url = 'http://paperfangs.com/brink/'
stripUrl = url + '?p=%s' stripUrl = url + '?p=%s'