From 6e15001b25485a87061efa15e334031157e3ca6f Mon Sep 17 00:00:00 2001 From: Dryusdan Date: Thu, 8 Mar 2018 23:20:14 +0100 Subject: [PATCH] change account --- README.md | 2 ++ dlimage.py | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) 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()