",'
',article_only)
article_only = re.sub(r" class=\"article-header__title\"",'',article_only)
article_only = re.sub(r" class=\"article-header__chapo\"",'',article_only)
article_only = re.sub(r"
",'
',article_only)
article_only = re.sub(r"
",'',article_only)
#article_only = re.sub(r"",'',article_only)
article_only = re.sub(r"href=\"/",'href="https://slate.fr/',article_only)
article_only = re.sub(r"src=\"/",'src="https://slate.fr/',article_only)
article_only = re.sub(r"

article_only = re.sub(r)
(.+?)
",'',article_only,flags=re.M|re.S)
article_only = re.sub(r"
(.+?)
",'',article_only,flags=re.M|re.S)
article_only = re.sub(r"^$",'',article_only)
article_only = re.sub(r'^\s*$', '',article_only,flags=re.M|re.S)
#pageContent += "
\n"+article_only+"\n\n"
pageContent += article_only+"\n"
lenAfter=len(article_only)
lenGain=float(10000-int(float(100*lenAfter/lenBefore)*100))/100
say("LengthAfter : "+str(lenAfter))
say("Gain : "+str(lenGain)+"%")
return pageContent