We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c03ca25 commit c992c5bCopy full SHA for c992c5b
miscsrc/tk-bbbike-grep
@@ -416,6 +416,9 @@ sub url_normalizations {
416
$url =~ s{(https://www.nd-aktuell.de/artikel/\d+\.).*}{$1};
417
$url =~ s{(https://www.tagesspiegel.de/.*)\?.*}{$1};
418
$url =~ s{(https://www.berlin.de/.*)\?ts=\d+\b}{$1};
419
+ # should be last
420
+ $url =~ s{([&?])utm_source=.*?(?=&|$)}{$1 eq '?' ? '?' : ''}e;
421
+ $url =~ s{\?$}{};
422
$url;
423
}
424
0 commit comments