From 6bc65217d360c74995c1598e105ac40e49c33254 Mon Sep 17 00:00:00 2001 From: Bofh Date: Mon, 8 Feb 2021 10:51:32 +0100 Subject: [PATCH] Be nice and warn about mirroring from Instagram original URL --- igmirror.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/igmirror.py b/igmirror.py index 70baf25..a818829 100644 --- a/igmirror.py +++ b/igmirror.py @@ -280,6 +280,9 @@ def pixelfed_setpic(acc_id, pic_url, count=0): return True def pixelfed_setinfo(acc_id, bio, website, count=0): + if count == 0: + bio = 'Mirrored from Instagram: https://www.instagram.com/{}\n\n{}'.format(acc_id, bio) + count += 1 pixelfed_login(acc_id)