IMDB: Fix Inline für einige Filme

This commit is contained in:
Andreas Bielawski 2016-08-06 22:36:02 +02:00
parent 0c417241ac
commit 8a1b16429d

View File

@ -48,6 +48,8 @@ function imdb:inline_callback(inline_query, config, matches)
end end
local text = text:gsub('"', '\\"') local text = text:gsub('"', '\\"')
local text = text:gsub("'", "\'") local text = text:gsub("'", "\'")
local description = description:gsub('"', '\\"')
local description = description:gsub("'", "\'")
if movie_info.Poster == "N/A" then if movie_info.Poster == "N/A" then
img_url = 'https://anditest.perseus.uberspace.de/inlineQuerys/imdb/logo.jpg' img_url = 'https://anditest.perseus.uberspace.de/inlineQuerys/imdb/logo.jpg'