shine-jayakumar / insta-likecom-bot

Automates likes and comments on an instagram account or tag
MIT License
136 stars 29 forks source link

Error: [AttributeError] - 'list' object has no attribute 'startswith'` #59

Closed ap0l0 closed 1 year ago

ap0l0 commented 1 year ago

[*] => Script started [*] => Downloading webdriver for your version of Chrome [*] => Loading Instagram [*] => Delay: 3-15 secs [*] => Max. comments to like: 2 [*] => Using profile: /Users/jaime/Library/Application Support/Google/Chrome/Default [*] => Launching Instagram [*] => [launch_insta]: Attempt - 1 [*] => Checking if user is already logged in [*] => [Attempt# 1] Validating login [*] => Setting target to: ['#haiku', '#photography', 'bob01', 'elonmusk'] [*] => Script ended with error [*] => Error: [AttributeError] - 'list' object has no attribute 'startswith'

Hi Getting this error, I used the sample targets you have.

This is how the profile looks:

{ "username": "asdad", "password":"asdasd", "target": "/Users/asdasd/Documents/ig-zerg/forbes-clean.json", "numofposts": "1", "viewstory": true, "likestory": 1, "likecomments": 2, "nocomments": true, "delay": "3,15", "brprofile" : "/Users/assda/Library/Application Support/Google/Chrome/Default" }

Also, the script is leaving comments on stories even with the "nocomment" set in true.

shine-jayakumar commented 1 year ago

Issue fixed in latest push. Please clone it.