From 605475bc6166fa321a2cb95498a02d675768dd5a Mon Sep 17 00:00:00 2001 From: Andreas Bielawski Date: Fri, 13 Mar 2020 22:40:42 +0100 Subject: [PATCH] Fix #1 Trim Feedproxy --- Commands.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Commands.cs b/Commands.cs index 4dfe65b..1e84c89 100644 --- a/Commands.cs +++ b/Commands.cs @@ -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; }