be compliant with the unlol dlfp 1st april joke

This commit is contained in:
Romain Bignon 2013-04-01 18:20:31 +02:00
commit 715495af74

View file

@ -121,7 +121,7 @@ class Article(Content):
return
header = tree.find('header')
self.title = u''.join([a.text for a in header.find('h1').findall('a')])
self.title = u''.join([a.text for a in header.find('h1').xpath('.//a')])
try:
a = self.browser.parser.select(header, 'a[rel=author]', 1)
except BrokenPageError: