Added another tracking parameter for removal.

This commit is contained in:
Martin Dosch 2018-08-03 14:50:33 +02:00
parent e64aa5ac63
commit 14d58011cd

View file

@ -30,5 +30,9 @@ func removeTracking(input string) (output string, err error) {
// used for tracking the referer by some feeds.
output = strings.Split(output, "#ref=")[0]
// Remove the URL part starting with "?ref=", which is
// used for tracking the referer by some feeds.
output = strings.Split(output, "?ref=")[0]
return output, err
}