add french commit M. Le Chien

This commit is contained in:
Luc Fouin 2014-02-27 17:45:29 +01:00
parent 0292c5cd70
commit da9f518a7a

View file

@ -128,6 +128,16 @@ class Misfile(_BasicScraper):
help = 'Index format: yyyy-mm-dd' help = 'Index format: yyyy-mm-dd'
class MonsieurLeChien(_BasicScraper):
description = u'Le blog de Monsieur le Chien, réflexions vaines et assertions sans fondements d\'un contribuable moyen.'
url = 'http://www.monsieur-le-chien.fr/'
stripUrl = url + 'index.php?planche=%s'
firstStripUrl = stripUrl % '2'
imageSearch = compile(tagre("img", "src", r'(i/planches/[^"]+)'))
prevSearch = compile(tagre("a", "href", r'([^"]+)') + tagre("img", "src", "i/precedent.gif"))
help = 'Index format: n'
class MrLovenstein(_BasicScraper): class MrLovenstein(_BasicScraper):
url = 'http://www.mrlovenstein.com/' url = 'http://www.mrlovenstein.com/'
rurl = escape(url) rurl = escape(url)