change account

This commit is contained in:
Dryusdan 2018-03-08 23:20:14 +01:00
parent 36a9ec862d
commit 6e15001b25
2 changed files with 4 additions and 2 deletions

View File

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

View File

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