Fix dorktower.

This commit is contained in:
Bastian Kleineidam 2013-03-07 18:24:12 +01:00
parent 7d8786c1d2
commit e96c68c378

View file

@ -136,7 +136,7 @@ class DominicDeegan(_BasicScraper):
class DorkTower(_BasicScraper): class DorkTower(_BasicScraper):
url = 'http://www.dorktower.com/' url = 'http://www.dorktower.com/'
stripUrl = url + '%s/' stripUrl = url + '%s/'
imageSearch = compile(tagre("img", "src", r'(http://www\.dorktower\.com/files/[^"]+)')) imageSearch = compile(tagre("img", "src", r'(http://www\.dorktower\.com/files/\d+/\d+/DorkTower[^"]+)'))
prevSearch = compile(tagre("a", "href", r'(http://www\.dorktower\.com/[^"]+)')+"Previous") prevSearch = compile(tagre("a", "href", r'(http://www\.dorktower\.com/[^"]+)')+"Previous")
help = 'Index format: yyyy/mm/dd/stripname-dd-mm-yy' help = 'Index format: yyyy/mm/dd/stripname-dd-mm-yy'