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.13k stars 179 forks source link

Doesn't comment even after disabled-filters:true #266

Closed techmaharaj closed 2 years ago

techmaharaj commented 2 years ago

What happened: Selected the option blogger: under Actions and provide some handles. Changed disabled-filters to true which means it should not consider the filters at all. It is liking the photos but while commenting it gives the below warning:

WARNING | Can't comment this MediaType.PHOTO because filters are: can_comment_photos = False, can_comment_videos = False, can_comment_carousels = False, can_comment_blogger = False. Check your filters.yml.

Filter values: comment_photos: true comment_videos: true comment_carousels: true comment_blogger: true

What you expected to happen: It should not consider the filters.yml file when disabled-filters: true and should proceed to like and comment on photos.

How to reproduce it (as minimally and precisely as possible):

  1. Set disabled-filters: true
  2. Add some handles under bloggers to interact with specific profiles
  3. Run the bot and observe

Anything else we need to know?:

Environment:

Relevant Logs:

disable-filters: true image

Status before the bot executes: image

Unable to comment on photos because of filters. image

mastrolube commented 2 years ago

Filters disabled == default options which is false. Filters must be enabled to use them

techmaharaj commented 2 years ago

As per my understanding when disable-filters:truethe bot doesn't consider the filter values, and that's what I want. I don't want any filters. However if you see, it is throwing a warning for filters.

mastrolube commented 2 years ago

(sorry for the late answer...)

Yes but some options have their default, and for commenting I set the default to false to avoid undefined comments like "comment 1" or whatever it is. The throwing of this warning is a standard behavior when you have a comment percentage greater than 0 and other options (like filters) are denying doing that.

You can comment on all the options inside the filters file, except the comment-things section. In that way, you will have the same defaults for other options (the same as putting disable-filters: true) but comments filters are respected the way you see.

goody2708 commented 9 months ago

Hey there, Same issue here but I haven't ignore the Filters. Setting is "disable-filters:false" but the bot Shows the Same issue Like Screenshot above

mastrolube commented 9 months ago

read my last answer, maybe it can help you

goody2708 commented 9 months ago

Hey @mastrolube thank you so much but it doesn´t work for me. I activate the debug function to show up any problems on console. There I see the message "filters.yml (or legacy filter.json) is not loaded!"

Maybe this can be the issue but doen´t know why it is not loaded. the file is in the ordner with my username

daachet commented 8 months ago

same issue here