change on html structure

This commit is contained in:
Romain Bignon 2013-01-13 11:40:33 +01:00
commit b6ddd15660

View file

@ -174,7 +174,7 @@ class ContentPage(DLFPPage):
if not self.article:
self.article = Article(self.browser,
self.url,
self.parser.select(self.document.getroot(), 'div#contents article', 1))
self.parser.select(self.document.getroot(), 'main#contents article', 1))
try:
threads = self.parser.select(self.document.getroot(), 'ul.threads', 1)