myanimelist.lua: Mehr Alternativtitel falls vorhanden
This commit is contained in:
parent
b2432485ca
commit
a55d2ea60a
@ -49,6 +49,12 @@ local function send_anime_data(result, receiver)
|
||||
syno = ''
|
||||
end
|
||||
|
||||
if xml.find(result, 'english')[1] then
|
||||
eng = '; '..unescape(delete_tags(xml.find(result, 'english')[1]))
|
||||
else
|
||||
eng = ''
|
||||
end
|
||||
|
||||
if xml.find(result, 'episodes')[1] then
|
||||
episodes = '\nEpisoden: '..xml.find(result, 'episodes')[1]
|
||||
else
|
||||
@ -85,7 +91,7 @@ local function send_anime_data(result, receiver)
|
||||
desc = ''
|
||||
end
|
||||
|
||||
local text = title..typ..syno..episodes..status..score..startdate..enddate..'\n'..desc..'\n'..mal_url
|
||||
local text = title..typ..syno..eng..episodes..status..score..startdate..enddate..'\n'..desc..'\n'..mal_url
|
||||
if xml.find(result, 'image') then
|
||||
local image_url = xml.find(result, 'image')[1]
|
||||
local cb_extra = {
|
||||
|
Reference in New Issue
Block a user