be compliant with the unlol dlfp 1st april joke
This commit is contained in:
parent
10a186c02d
commit
715495af74
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue