Fix #1 Trim Feedproxy
This commit is contained in:
parent
bf3e8a65e1
commit
605475bc61
@ -202,7 +202,7 @@ namespace RSSBot {
|
|||||||
postLink = entry.Link;
|
postLink = entry.Link;
|
||||||
// FeedProxy URLs
|
// FeedProxy URLs
|
||||||
GroupCollection feedProxy =
|
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;
|
linkName = feedProxy.Count > 1 ? feedProxy[1].Value : new Uri(postLink).Host;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user