Konvertieren 1-9 zu 01-09
This commit is contained in:
@ -30,13 +30,13 @@ local data = json:decode(table.concat(response_body))._children[1]
|
||||
local title = data.title
|
||||
|
||||
if data.parentIndex then
|
||||
season = 'S'..data.parentIndex
|
||||
season = 'S'..convertNumbers(data.parentIndex)
|
||||
else
|
||||
season = ''
|
||||
end
|
||||
|
||||
if data.index then
|
||||
episode = 'E'..data.index
|
||||
episode = 'E'..convertNumbers(data.index)
|
||||
else
|
||||
episode = ''
|
||||
end
|
||||
@ -78,7 +78,7 @@ local data = json:decode(table.concat(response_body))._children[1]
|
||||
end
|
||||
|
||||
if data.summary then
|
||||
desc = '\n\nBeschreibung: '..string.gsub(data.summary, 'EditBackgroundNo(.*)', '')
|
||||
desc = '\n\n'..string.gsub(data.summary, 'EditBackgroundNo(.*)', '')
|
||||
else
|
||||
desc = ''
|
||||
end
|
||||
|
Reference in New Issue
Block a user