change account
This commit is contained in:
parent
36a9ec862d
commit
6e15001b25
|
@ -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
|
||||
|
||||
```
|
||||
|
|
|
@ -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()
|
||||
|
||||
|
|
Reference in New Issue