diff --git a/miku/plugins/figuya.lua b/miku/plugins/figuya.lua index 8992870..28d000e 100644 --- a/miku/plugins/figuya.lua +++ b/miku/plugins/figuya.lua @@ -17,7 +17,7 @@ function figuya:get_figuya(figu) else desc = unescape(data.description)..'.' end - local pic = data.thumbnail_url + local pic = 'https://anditest.perseus.uberspace.de/img.php?url='..data.thumbnail_url local text = ''..title..'\n'..desc..''..' ' return text diff --git a/miku/plugins/plex.lua b/miku/plugins/plex.lua index 729b3b0..27c03b6 100644 --- a/miku/plugins/plex.lua +++ b/miku/plugins/plex.lua @@ -135,7 +135,7 @@ function plex:get_plex(query) rating = '' end - if data.Genre[1] then + if data.Genre then genre = '\nGenre: '..data.Genre[1].tag else genre = ''