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 172 forks source link

Bot cant find filter.yml #218

Closed WuDMC closed 2 years ago

WuDMC commented 2 years ago

Everytime i try to use filter.yml i recieve WARNING [10/05 09:59:14] WARNING | The legacy filters file accounts/mei_riko.design/filter.json doesn't exists. Download and use the filters.yml instead from https://github.com/GramAddict/bot/blob/08e1d7aff39ec47543fa78aadd7a2f034b9ae34d/config-examples/filters.yml and place it in your account folder! (filter.py:150)

When i use filter.json - it works, but i cant use there args specific_alphabet, biography_language, so i try to use filter.yml

what i do wrong? pls help


my config tree: ( ls -R > config) .: accounts/ config crashes/ logs/ meiriko_start.bat run.py

./accounts: mei_riko.design/

./accounts/mei_riko.design: blacklist.txt comments_list.txt config.yml filter.json2 filter.yml history_filters_users.json interacted_users.json pm_list.txt sessions.json telegram.yml whitelist.txt


my config.yml:

username: mei_riko.design device: 192.168.1.15:5555 app-id: com.instagram.android screen-sleep: true screen-record: false speed-multiplier: 1 debug: false close-apps: true disable-block-detection: false total-crashes-limit: 5

hashtag-likers-top: [логотипы ,разработкалоготипа ,фирменныйстиль ,графическийдизайнер ,фирменныйстильназаказ ,логотипыназаказ ,графическийдизайн ,фриланс ,айдентика ,logobrand ,разработкалоготипа,logobrand,graficdesign] hashtag-likers-recent: [логотипы ,разработкалоготипа ,фирменныйстиль ,графическийдизайнер ,фирменныйстильназаказ ,логотипыназаказ ,графическийдизайн ,фриланс ,айдентика ,logobrand ,разработкалоготипа,logobrand,graficdesign]

shuffle-jobs: true truncate-sources: 2-5 delete-interacted-users: true watch-video-time: 15-35 watch-photo-time: 3-4 can-reinteract-after: -1 # -1 or commented for disable this feature, otherwise the amount of hours that have to pass from the last interaction

analytics: true telegram-reports: true

interactions-count: 30-40 likes-count: 1-2 likes-percentage: 75 stories-count: 1-2 stories-percentage: 30-40 carousel-count: 2-3 carousel-percentage: 60-70 interact-percentage: 30-40

skipped-list-limit: 10-15 skipped-posts-limit: 5 fling-when-skipped: 0

total-likes-limit: 50 total-follows-limit: 50 total-unfollows-limit: 50 total-watches-limit: 500 total-successful-interactions-limit: 100 total-interactions-limit: 200 total-comments-limit: 5 total-pm-limit: 5 total-scraped-limit: 100

working-hours: [09.15-22.46] time-delta: 10-15 repeat: 80-220 total-sessions: -1 # -1 or commented for infinite sessions


Relevant Logs:

[10/05 09:58:41] DEBUG | Initial log file: logs/mei_riko.design.log (log.py:100) [10/05 09:58:41] DEBUG | Installed via pip. (utils.py:156) [10/05 09:58:41] INFO | Do you want to update/create your config-examples folder in local? Do the following: pip3 install --user gitdir (only the first time) python3 -m gitdir https://github.com/GramAddict/bot/tree/master/config-examples (python on Windows) (utils.py:157) [10/05 09:58:44] INFO | Checking for updates... (utils.py:81) [10/05 09:58:45] INFO | Bot is updated. (utils.py:94) [10/05 09:58:45] INFO | GramAddict v.2.9.0 (utils.py:96) [10/05 09:58:45] INFO | Loading plugins . . . (plugin_loader.py:28) [10/05 09:58:45] INFO | - ActionUnfollowFollowers: Handles the functionality of unfollowing your followers (plugin_loader.py:43) [10/05 09:58:45] INFO | - ClonedApp: Adds support for cloned apps (plugin_loader.py:43) [10/05 09:58:45] INFO | - CoreArguments: Simply adds core arguments (plugin_loader.py:43) [10/05 09:58:45] INFO | - DataAnalytics: Generates a PDF analytics report of current username session data (plugin_loader.py:43) [10/05 09:58:45] INFO | - InteractBloggerPostLikers: Handles the functionality of interacting with a blogger (plugin_loader.py:43) [10/05 09:58:45] INFO | - InteractBloggerFollowers_Following: Handles the functionality of interacting with a bloggers followers/following (plugin_loader.py:43) [10/05 09:58:45] INFO | - InteractBloggerPostLikers: Handles the functionality of interacting with a blogger post likers (plugin_loader.py:43) [10/05 09:58:45] INFO | - InteractOwnFeed: Handles the functionality of interacting with your own feed (plugin_loader.py:43) [10/05 09:58:45] INFO | - InteractHashtagLikers: Handles the functionality of interacting with a hashtags likers (plugin_loader.py:43) [10/05 09:58:45] INFO | - InteractHashtagPosts: Handles the functionality of interacting with a hashtags post owners (plugin_loader.py:43) [10/05 09:58:45] INFO | - InteractPlaceLikers: Handles the functionality of interacting with a places likers (plugin_loader.py:43) [10/05 09:58:45] INFO | - InteractPlacePosts: Handles the functionality of interacting with a places post owners (plugin_loader.py:43) [10/05 09:58:45] INFO | - LikeFromURLs: Likes a post from url. The urls are read from a plaintext file (plugin_loader.py:43) [10/05 09:58:45] INFO | - TelegramReports: Generate reports at the end of the session and send them using telegram (plugin_loader.py:43) [10/05 09:58:45] DEBUG | Arguments used: --config accounts\mei_riko.design\config.yml (config.py:119) [10/05 09:58:45] DEBUG | Config used: {'username': 'mei_riko.design', 'device': '192.168.1.15:5555', 'app-id': 'com.instagram.android', 'screen-sleep': True, 'screen-record': False, 'speed-multiplier': 1, 'debug': False, 'close-apps': True, 'disable-block-detection': False, 'total-crashes-limit': 5, 'hashtag-likers-top': ['логотипы', 'разработкалоготипа', 'фирменныйстиль', 'графическийдизайнер', 'фирменныйстильназаказ', 'логотипыназаказ', 'графическийдизайн', 'фриланс', 'айдентика', 'logobrand', 'разработкалоготипа', 'logobrand', 'graficdesign'], 'hashtag-likers-recent': ['логотипы', 'разработкалоготипа', 'фирменныйстиль', 'графическийдизайнер', 'фирменныйстильназаказ', 'логотипыназаказ', 'графическийдизайн', 'фриланс', 'айдентика', 'logobrand', 'разработкалоготипа', 'logobrand', 'graficdesign'], 'shuffle-jobs': True, 'truncate-sources': '2-5', 'delete-interacted-users': True, 'watch-video-time': '15-35', 'watch-photo-time': '3-4', 'can-reinteract-after': -1, 'analytics': True, 'telegram-reports': True, 'interactions-count': '30-40', 'likes-count': '1-2', 'likes-percentage': 75, 'stories-count': '1-2', 'stories-percentage': '30-40', 'carousel-count': '2-3', 'carousel-percentage': '60-70', 'interact-percentage': '30-40', 'skipped-list-limit': '10-15', 'skipped-posts-limit': 5, 'fling-when-skipped': 0, 'total-likes-limit': 50, 'total-follows-limit': 50, 'total-unfollows-limit': 50, 'total-watches-limit': 500, 'total-successful-interactions-limit': 100, 'total-interactions-limit': 200, 'total-comments-limit': 5, 'total-pm-limit': 5, 'total-scraped-limit': 100, 'working-hours': ['09.15-22.46'], 'time-delta': '10-15', 'repeat': '80-220', 'total-sessions': -1} (config.py:121) [10/05 09:58:45] DEBUG | Connected devices via adb: 1. That's ok. (utils.py:184) [10/05 09:58:47] INFO | Time delta has set to -00:12:11. (utils.py:586) [10/05 09:58:47] DEBUG | Phone Name: rosy_ru, SDK Version: 27 (device_facade.py:27) [10/05 09:58:48] DEBUG | Screen dimension: 720x1344 (device_facade.py:32) [10/05 09:58:48] DEBUG | Screen resolution: 360x720 (device_facade.py:35) [10/05 09:58:48] DEBUG | Device ID: 192.168.1.15:5555 (device_facade.py:38) [10/05 09:58:48] INFO | -------- START: 09:58:48 - 2021/10/05 -------- (bot_flow.py:127) [10/05 09:58:49] INFO | Device screen ON and unlocked. (bot_flow.py:144) [10/05 09:58:49] INFO | Open Instagram app. (utils.py:226) [10/05 09:58:49] DEBUG | Activity not started, its current task has been brought to the front. (utils.py:245) [10/05 09:58:49] INFO | Ready for botting!🤫 (utils.py:254) [10/05 09:58:49] DEBUG | 2.65s sleep (utils.py:365) [10/05 09:58:51] INFO | Close all the other apps, to avoid interference... (utils.py:262) [10/05 09:58:54] DEBUG | 2.53s sleep (utils.py:365) [10/05 09:58:57] DEBUG | Setting FastInputIME as default keyboard. (utils.py:265) [10/05 09:58:58] INFO | FastInputIME is the default keyboard. (utils.py:292) [10/05 09:58:59] INFO | Instagram version: 206.1.0.34.121 (bot_flow.py:148) [10/05 09:58:59] INFO | You have a newer version of IG then the one we tested! (Tested version: 202.0.0.37.123) (bot_flow.py:152) [10/05 09:58:59] DEBUG | Navigate to PROFILE. (navigation.py:24) [10/05 09:58:59] DEBUG | Single click in (668,1282). Surface: (618-678,1270-1330) (device_facade.py:432) [10/05 09:59:00] DEBUG | 1.48s sleep (utils.py:365) [10/05 09:59:01] DEBUG | Checking if app is in English.. (navigation.py:27) [10/05 09:59:03] DEBUG | Instagram in English. (navigation.py:31) [10/05 09:59:04] INFO | You are already logged as mei_riko.design! (views.py:1126) [10/05 09:59:04] INFO | Refresh account... (views.py:1156) [10/05 09:59:05] DEBUG | Swipe from: (350,452) to (329,729). (device_facade.py:276) [10/05 09:59:05] DEBUG | 0.50s sleep (utils.py:365) [10/05 09:59:06] DEBUG | 1.87s sleep (utils.py:365) [10/05 09:59:10] INFO | Hello, @mei_riko.design! You have 62 followers and 50 followings so far. (bot_flow.py:209) [10/05 09:59:10] INFO | You have infinite session(s) left. You can stop the bot by pressing CTRL+C in console. (bot_flow.py:211) [10/05 09:59:13] INFO | Checking session limits: (session_state.py:137) [10/05 09:59:13] INFO | - Total Likes: OK (0/50) (session_state.py:137) [10/05 09:59:13] INFO | - Total Comments: OK (0/5) (session_state.py:137) [10/05 09:59:13] INFO | - Total PM: OK (0/5) (session_state.py:137) [10/05 09:59:13] INFO | - Total Followed: OK (0/50) (session_state.py:137) [10/05 09:59:13] INFO | - Total Unfollowed: OK (0/50) (session_state.py:137) [10/05 09:59:13] INFO | - Total Watched: OK (0/500) (session_state.py:137) [10/05 09:59:13] INFO | - Total Successful Interactions: OK (0/100) (session_state.py:137) [10/05 09:59:13] INFO | - Total Interactions: OK (0/200) (session_state.py:137) [10/05 09:59:13] INFO | - Total Crashes: OK (0/5) (session_state.py:137) [10/05 09:59:13] INFO | - Total Successful Scraped Users: OK (0/100) (session_state.py:137) [10/05 09:59:13] INFO | Current job: hashtag-likers-recent (bot_flow.py:244) [10/05 09:59:14] WARNING | The legacy filters file accounts/mei_riko.design/filter.json doesn't exists. Download and use the filters.yml instead from https://github.com/GramAddict/bot/blob/08e1d7aff39ec47543fa78aadd7a2f034b9ae34d/config-examples/filters.yml and place it in your account folder! (filter.py:150) [10/05 09:59:14] INFO | Source list truncated at 2 items. (utils.py:524) [10/05 09:59:14] INFO | In this session, these sources will be handled: фирменныйстиль, графическийдизайнер (utils.py:527) [10/05 09:59:14] DEBUG | Checking session limits: (session_state.py:140)

mastrolube commented 2 years ago

Hello, it's filters.yml not filter.yml

WuDMC commented 2 years ago

OMG THX)