Fix Trim Feedproxy

This commit is contained in:
Andreas Bielawski 2020-03-13 22:40:42 +01:00
parent bf3e8a65e1
commit 605475bc61
No known key found for this signature in database
GPG Key ID: D2073645DC2C3DE5

View File

@ -202,7 +202,7 @@ namespace RSSBot {
postLink = entry.Link;
// FeedProxy URLs
GroupCollection feedProxy =
Utils.ReturnMatches(postLink, "^https?://feedproxy.google.com/~r/(.+)/.*");
Utils.ReturnMatches(postLink, "^https?://feedproxy.google.com/~r/(.+?)/.*");
linkName = feedProxy.Count > 1 ? feedProxy[1].Value : new Uri(postLink).Host;
}