Noch etwas cleanRSS

This commit is contained in:
Akamaru 2016-08-22 13:50:02 +02:00
parent 43b313e64e
commit edccdb3084

View File

@ -55,6 +55,7 @@ function to_utf8(a)
end
function cleanRSS(str)
str = string.gsub(str, '%[…%]', '')
str = string.gsub(str, '%[mehr%]', '')
str = string.gsub(str, '%[video%]', '')
str = string.gsub(str, '...%[more%]', '')
@ -76,6 +77,8 @@ function cleanRSS(str)
str = string.gsub(str, 'View On WordPress', '')
str = string.gsub(str, '%(RSS generated with FetchRss%)', '')
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, 'http://www%.serienjunkies%.de/.*%.html', '')
return str
end