Added another tracking parameter to removeTracking.

This commit is contained in:
Martin Dosch 2018-09-09 19:13:16 +02:00
parent a0f995cd4d
commit 638c24819f

View file

@ -34,5 +34,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 "?pk_", which is
// used for tracking purposes.
output = strings.Split(output, "?pk_")[0]
return output, err
}