diff --git a/README.md b/README.md index 6b9a618..69200d5 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,8 @@ mastodon_hostname: miaou.drycat.fr create save_media folder is the same path +Change "account@domain.com" on your account of your choise + ## How to run it ``` diff --git a/dlimage.py b/dlimage.py index a70ca64..4c69b71 100644 --- a/dlimage.py +++ b/dlimage.py @@ -52,9 +52,9 @@ mastodon = Mastodon( masto_allfav = mastodon.favourites(None, None, 40) for toot in masto_allfav: - if toot.account.acct == "bonjourtoutlemonde@hostux.social": + if toot.account.acct == "account@domain.com": get_media() else : - if toot.account.acct == "BonjourMadame@hostux.social": + if toot.account.acct == "otheraccount@domain.com": get_media()