Tagesschau-Eilmeldungen werden jetzt per Datum verglichen, nicht mehr per Link
This commit is contained in:
parent
8367c17459
commit
c4fa575bc5
@ -99,7 +99,7 @@ function tagesschau_eil:cron(self_plz)
|
|||||||
local post_url = string.gsub(data.breakingnews[1].details, '/api/', '/')
|
local post_url = string.gsub(data.breakingnews[1].details, '/api/', '/')
|
||||||
local post_url = string.gsub(post_url, '.json', '.html')
|
local post_url = string.gsub(post_url, '.json', '.html')
|
||||||
local eil = title..'\n_'..posted_at..'_\n'..news..'\n[Artikel aufrufen]('..post_url..')'
|
local eil = title..'\n_'..posted_at..'_\n'..news..'\n[Artikel aufrufen]('..post_url..')'
|
||||||
redis:set(hash..':last_entry', data.breakingnews[1].details)
|
redis:set(hash..':last_entry', data.breakingnews[1].date)
|
||||||
for _,user in pairs(redis:smembers(hash..':subs')) do
|
for _,user in pairs(redis:smembers(hash..':subs')) do
|
||||||
local user = string.gsub(user, 'chat%#id', '')
|
local user = string.gsub(user, 'chat%#id', '')
|
||||||
local user = string.gsub(user, 'user%#id', '')
|
local user = string.gsub(user, 'user%#id', '')
|
||||||
|
Reference in New Issue
Block a user