Tagesschau-EIL-Fix

This commit is contained in:
Andreas Bielawski 2016-09-28 23:04:35 +02:00
parent 3007e6b80f
commit e828e6235f
1 changed files with 1 additions and 0 deletions

View File

@ -81,6 +81,7 @@ function tagesschau_eil:cron()
if code ~= 200 then return end
local data = json.decode(res)
if not data then return end
if data.error then return end
if data.breakingnews[1] then
if data.breakingnews[1].date ~= last_eil then
local title = '#EIL: <b>'..data.breakingnews[1].headline..'</b>'