Create an id for daily pages
This commit is contained in:
parent
96ca30388d
commit
438158e19b
2 changed files with 6 additions and 1 deletions
|
|
@ -52,8 +52,10 @@ class NewspaperPresseuropBackend(GenericNewspaperBackend, ICapMessages):
|
|||
if "/news-brief/" in article.link:
|
||||
day = self.browser.get_daily_date(article.link)
|
||||
if day and (day not in daily):
|
||||
localid = url2id(article.link)
|
||||
daily.append(day)
|
||||
id, title, date = self.browser.get_daily_infos(day)
|
||||
id = id + "#" + localid
|
||||
thread = Thread(id)
|
||||
thread.title = title
|
||||
thread.date = date
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue