From d11d1ff2353fa7c5629cc394cfd7935308758208 Mon Sep 17 00:00:00 2001 From: Akamaru Date: Wed, 24 Aug 2016 18:32:32 +0200 Subject: [PATCH 1/2] cleanRSS --- miku/plugins/rss.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/miku/plugins/rss.lua b/miku/plugins/rss.lua index a7af5df..2b6c12f 100644 --- a/miku/plugins/rss.lua +++ b/miku/plugins/rss.lua @@ -56,6 +56,7 @@ end function cleanRSS(str) str = string.gsub(str, '%[%…%]', '') + str = string.gsub(str, '%[bilder%]', '') str = string.gsub(str, '%[mehr%]', '') str = string.gsub(str, '%[video%]', '') str = string.gsub(str, '...%[more%]', '') @@ -79,6 +80,7 @@ function cleanRSS(str) str = string.gsub(str, 'Meldung bei www%.tagesschau%.de lesen', '') str = string.gsub(str, 'The post.*appeared first on Sugoi! Anime Blog%.', '') str = string.gsub(str, 'Der Beitrag.*erschien zuerst auf MAnime%.de%.', '') + str = string.gsub(str, 'Serienjunkies im Internet:Serienjunkies%.defacebook%.com/serienjunkiesSerienjunkies bei Instagramtwitter%.com/serienjunkies', '') str = string.gsub(str, 'http://www%.serienjunkies%.de/.*%.html', '') return str end From d5290a7bcce3dc3d367a61c991c35a98cddeb11f Mon Sep 17 00:00:00 2001 From: Akamaru Date: Wed, 24 Aug 2016 19:23:00 +0200 Subject: [PATCH 2/2] =?UTF-8?q?cleanRSS=20r=C3=BCckg=C3=A4ngig=20.=5F.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- miku/plugins/rss.lua | 1 - 1 file changed, 1 deletion(-) diff --git a/miku/plugins/rss.lua b/miku/plugins/rss.lua index 2b6c12f..d28ed3e 100644 --- a/miku/plugins/rss.lua +++ b/miku/plugins/rss.lua @@ -80,7 +80,6 @@ function cleanRSS(str) str = string.gsub(str, 'Meldung bei www%.tagesschau%.de lesen', '') str = string.gsub(str, 'The post.*appeared first on Sugoi! Anime Blog%.', '') str = string.gsub(str, 'Der Beitrag.*erschien zuerst auf MAnime%.de%.', '') - str = string.gsub(str, 'Serienjunkies im Internet:Serienjunkies%.defacebook%.com/serienjunkiesSerienjunkies bei Instagramtwitter%.com/serienjunkies', '') str = string.gsub(str, 'http://www%.serienjunkies%.de/.*%.html', '') return str end