GramAddict / bot

Completely free and open-source human-like Instagram bot. Powered by UIAutomator2 and compatible with basically any Android device 5.0+ that can run Instagram - real or emulated.
https://docs.gramaddict.org
MIT License
1.1k stars 173 forks source link

How to implement whitelist #203

Closed Ardy000 closed 3 years ago

Ardy000 commented 3 years ago

Unfollow whitelist is mentioned on https://docs.gramaddict.org/#/?id=features but I cannot find the actual implementation instructions "you can whitelist people in order to not remove them when you unfollow people"

How do I do this?

Thanks

philip-ulrich commented 3 years ago

https://github.com/GramAddict/bot/tree/master/config-examples

the filters and such are stored under

accounts/[username]

https://github.com/GramAddict/bot/blob/94b3ba87b37f554b156d3ce61755e073fe6d4ece/GramAddict/core/storage.py#L82

You can probably at least partially blame me for the docs, but @mastrolube has done a lot to improve them. Maybe a good suggestion on something to add.

Possibly in a section after this one: https://docs.gramaddict.org/#/configuration?id=available-filters

Ardy000 commented 3 years ago

Thanks for your reply Philup

So if I want to never unfollow @john.smith

What would I type inside filter.json

Ardy000 commented 3 years ago

Oh now I see it's filter.yml

but what do I type in it? There is no whitelist option in the template given

mastrolube commented 3 years ago

It's not filter.yml, but whitelist.txt I added that right now, it should be exhaustive. Use of blacklist and whitelist