From 9ac23e1b1b614284f0f53c0eb04b791930c6b0d0 Mon Sep 17 00:00:00 2001 From: Akamaru Date: Wed, 12 Oct 2016 16:37:00 +0200 Subject: [PATCH] =?UTF-8?q?rss.lua:=20Fix=20f=C3=BCr=20predb.me?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Link kommt ohne "http:" >.< --- miku/plugins/rss.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/miku/plugins/rss.lua b/miku/plugins/rss.lua index 5e51341..69b5388 100644 --- a/miku/plugins/rss.lua +++ b/miku/plugins/rss.lua @@ -327,7 +327,7 @@ function rss:cron() for k2, v2 in pairs(newentr) do local title = unescape(v2.title) or 'Kein Titel' local link = v2.link or v2.id or 'Kein Link' - local link_name = link:match('^%w+://([^/]+)') + local link_name = link:match('//([^/]+)') local link_name = link_name:gsub('^www%.', '') if link_name == 'feedproxy.google.com' then link_name = link:match('feedproxy%.google%.com/~r/(.+)/~')