Fix small typos.

This commit is contained in:
Tobias Gruetzmacher 2015-07-18 00:10:32 +02:00
parent 66dc2ffeb2
commit 6b0046f9b3

View file

@ -221,7 +221,7 @@ class BoyOnAStickAndSlither(_BasicScraper):
class BrentalFloss(_BasicScraper): class BrentalFloss(_BasicScraper):
url = 'http://brentalflossthecomic.com/' url = 'http://brentalflossthecomic.com/'
stripUrl = url + '?id=%s' stripUrl = url + '?id=%s'
fristStripUrl = stripUrl % '1' firstStripUrl = stripUrl % '1'
imageSearch = compile(tagre("img", "src", r'([^"]*/img/comic/[^"]*)')) imageSearch = compile(tagre("img", "src", r'([^"]*/img/comic/[^"]*)'))
prevSearch = compile(tagre("a", "href", r'([^"]*)') + "Prev") prevSearch = compile(tagre("a", "href", r'([^"]*)') + "Prev")
help = 'Index format: n' help = 'Index format: n'
@ -236,7 +236,7 @@ class BrentalFlossFit(BrentalFloss):
name = 'BrentalFloss/FlossedInTime' name = 'BrentalFloss/FlossedInTime'
url = 'http://brentalflossthecomic.com/fit/' url = 'http://brentalflossthecomic.com/fit/'
stripUrl = url + '?id=%s' stripUrl = url + '?id=%s'
fristStripUrl = stripUrl % '1' firstStripUrl = stripUrl % '1'
@classmethod @classmethod
def prevUrlModifier(cls, prevUrl): def prevUrlModifier(cls, prevUrl):
@ -253,7 +253,7 @@ class BrentalFlossGuest(BrentalFloss):
name = 'BrentalFloss/GuestComics' name = 'BrentalFloss/GuestComics'
url = 'http://brentalflossthecomic.com/guestcomics/' url = 'http://brentalflossthecomic.com/guestcomics/'
stripUrl = url + '?id=%s' stripUrl = url + '?id=%s'
fristStripUrl = stripUrl % '1' firstStripUrl = stripUrl % '1'
# XXX disallowed by robots.txt # XXX disallowed by robots.txt
@ -281,7 +281,7 @@ class BrightlyWound(_BasicScraper):
baseUrl = 'http://www.brightlywound.com/' baseUrl = 'http://www.brightlywound.com/'
url = baseUrl + '?comic=137' url = baseUrl + '?comic=137'
stripUrl = baseUrl + '?comic=%s' stripUrl = baseUrl + '?comic=%s'
fristStripUrl = stripUrl % '0' firstStripUrl = stripUrl % '0'
imageSearch = compile(tagre("img", "src", r"(comic/[^']+)", quote="'")) imageSearch = compile(tagre("img", "src", r"(comic/[^']+)", quote="'"))
prevSearch = compile(r'<div id=\'navback\'><a href=\'(\?comic\=\d+)\'><img src=\'images/previous.png\'') prevSearch = compile(r'<div id=\'navback\'><a href=\'(\?comic\=\d+)\'><img src=\'images/previous.png\'')
help = 'Index format: nnn' help = 'Index format: nnn'