Fixes for FonFlatter

This commit is contained in:
Bastian Kleineidam 2013-03-13 18:31:58 +01:00
parent d47670231a
commit e88cf514a7

View file

@ -112,10 +112,18 @@ class FonFlatter(_BasicScraper):
stripUrl = url + '%s/'
firstStripUrl = stripUrl % '2005/09/20/01-begegnung-mit-batman'
lang = 'de'
imageSearch = compile(tagre("img", "src", r'(http://www\.fonflatter\.de/\d+/fred_\d+-\d+-\d+[^"]+)'))
imageSearch = compile(r'src="(http://www\.fonflatter\.de/\d+/fred_\d+-\d+-\d+[^"]+)')
prevSearch = compile(tagre("a", "href", r'(http://www\.fonflatter\.de/[^"]+)', after="prev"))
help = 'Index format: yyyy/mm/dd/number-stripname'
def shouldSkipUrl(self, url):
return url in (
"http://www.fonflatter.de/2006/11/30/adventskalender/",
"http://www.fonflatter.de/2006/09/21/danke/",
"http://www.fonflatter.de/2006/08/23/zgf-zuweilen-gestellte-fragen/",
"http://www.fonflatter.de/2005/10/19/naq-never-asked-questions/",
)
class Footloose(_BasicScraper):
url = 'http://footloosecomic.com/footloose/today.php'