Fix imageSearch pattern.

This commit is contained in:
Bastian Kleineidam 2013-02-08 21:03:23 +01:00
parent 4448fe4489
commit 77f3d152c0

View file

@ -11,7 +11,7 @@ from ..util import tagre
class TheBrads(_BasicScraper):
url = 'http://bradcolbow.com/archive/C4/'
stripUrl = url + '%s'
imageSearch = compile(tagre("img", "src", r'(http://s3\.amazonaws\.com/the_brads/the-brads-[^"]+)'))
imageSearch = compile(tagre("img", "src", r'(http://s3\.amazonaws\.com/the_brads/the-?brads-[^"]+)'))
prevSearch = compile(tagre("a", "href", r'(http://bradcolbow\.com/archive/C4/[^"]+)', before="prev"))
multipleImagesPerStrip = True
help = 'Index format: a letter and a number'