diff --git a/miku/plugins/instagram.lua b/miku/plugins/instagram.lua index 0c5237c..4b8186d 100644 --- a/miku/plugins/instagram.lua +++ b/miku/plugins/instagram.lua @@ -2,7 +2,7 @@ local instagram = {} function instagram:init(config) instagram.triggers = { - "https?://www.instagram.com/p/(.*)" + "instagram.com/p/(.*)" } end diff --git a/miku/plugins/plex.lua b/miku/plugins/plex.lua index 745a653..7b3aee7 100644 --- a/miku/plugins/plex.lua +++ b/miku/plugins/plex.lua @@ -79,7 +79,11 @@ function plex:get_plex(query) end if data.studio then - studio = '\nStudio: '..data.studio + if string.match(data.studio, "None found, add some") then + studio = '' + else + studio = '\nStudio: '..data.studio + end else studio = '' end