Be nice and warn about mirroring from Instagram original URL

This commit is contained in:
Bofh 2021-02-08 10:51:32 +01:00
parent cd0147562b
commit 6bc65217d3
1 changed files with 3 additions and 0 deletions

View File

@ -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)