Radulepy / InstagramBot

Instagram AUTO Like and Comment Python BOT
GNU General Public License v2.0
134 stars 49 forks source link

Cookies error #14

Closed martini09617 closed 2 years ago

martini09617 commented 2 years ago

Describe the bug When running the script, it cannot accept the "Cookies", thus the script stops and is not able to work.

Screenshots Screenshot CMD

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

Radulepy commented 2 years ago

Hi, i have updated the code. As said in the description, instagram updates the website continuously.

This is Xpath for the button to accept the cookies: /html/body/div[4]/div/div/button[1]

martini09617 commented 2 years ago

Hi sir, That works now, but there are two more notification which it doesn’t aggree. See attachement

  1. “Save login Details”
  2. “Enable Notifications”

Lastly, I don’t want to place comments but only like posts, how do I do that?

Regards, Martijn

Van: Radu @.> Verzonden: dinsdag 11 januari 2022 14:08 Aan: @.> CC: @.>; @.> Onderwerp: Re: [Radulepy/InstagramBot] Cookies error (Issue #14)

Hi, i have updated the code. As said in the description, instagram updates the website continuously.

This is Xpath for the button to accept the cookies: /html/body/div[4]/div/div/button[1]

— Reply to this email directly, view it on GitHubhttps://github.com/Radulepy/InstagramBot/issues/14#issuecomment-1009948136, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AXIB6DQMO6KD7JW6TTBVJ4LUVQTVFANCNFSM5LWHY7BA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you authored the thread.Message ID: @.***>

Radulepy commented 2 years ago

Hi, i have updated the code. You don't need to accept cookies if you change the page. There, the bot goes to /explore page on IG, thus no need to accept the cookies anymore. See the update files (27.01.2022)