diff --git a/tootbot.py b/tootbot.py index be6f1a9..30d9f11 100755 --- a/tootbot.py +++ b/tootbot.py @@ -270,6 +270,7 @@ if source[:4] == 'http': continue c = c + '\n\n' + t.link + c = re.sub(r'(\?|&)utm.*$', r'\1utm_medium=Social&utm_source=Mastodon', c) # replace links to reddit by libreddit ones c = c.replace('old.reddit.com', 'libreddit.net')