Code Monkey home page Code Monkey logo

Comments (11)

swaaz avatar swaaz commented on July 27, 2024

@cyborg2006 thanks for opening the issue. I will fix them soon

from instabot.

swaaz avatar swaaz commented on July 27, 2024

@autumnlewjb can you please fix the bug because I am working on an important project?

from instabot.

autumnlewjb avatar autumnlewjb commented on July 27, 2024

@autumnlewjb can you please fix the bug because I am working on an important project?

I'll try my best. It's most probably caused by faulty XPATH, which is stopping the element from being located.
TimeOut is due to the max waiting time set in the WebDriverWait constructor. When the element is not located within the max waiting time, TimeOut exception is thrown.

I'll try my best to fix it.

from instabot.

cyborg2006 avatar cyborg2006 commented on July 27, 2024

Thank you guys for your effort. I will try and let you know.

from instabot.

cyborg2006 avatar cyborg2006 commented on July 27, 2024

Please see attached screenshot when I tried option 4.
Data collected from following pop-up, and tried to collect from followers as well, but after couple of minutes received attached error.

Screen Shot

from instabot.

cyborg2006 avatar cyborg2006 commented on July 27, 2024

I was download zip file from Github to my local disk. Now, clone the repository using git and edit program.py file as you corrected.
Option 1, and 2 is working. When I tried option 4 (4. Unfollowers those who don't follow you back) attached is the error and screenshot.
Screen Shot 2

from instabot.

autumnlewjb avatar autumnlewjb commented on July 27, 2024

Please see attached screenshot when I tried option 4.
Data collected from following pop-up, and tried to collect from followers as well, but after couple of minutes received attached error.

I was download zip file from Github to my local disk. Now, clone the repository using git and edit program.py file as you corrected.
Option 1, and 2 is working. When I tried option 4 (4. Unfollowers those who don't follow you back) attached is the error and screenshot.

Do check out the PR #24 as I have pushed a few more commits that hopefully, will resolve your issue.
By the way, I am happy that most of the processes work for you.
Please keep me update so that we could learn and improve together.

from instabot.

cyborg2006 avatar cyborg2006 commented on July 27, 2024

Unfortunately, option 4 starting good but not finalized accordingly :))
Screen Shot 3

from instabot.

cyborg2006 avatar cyborg2006 commented on July 27, 2024

Do you want to unfollow : aleksandradanilova1358

  1. Yes 2. No
    Enter the choice : 1
    found
    Search for elexicc

Do you want to unfollow : elexicc

  1. Yes 2. No
    Enter the choice : 1
    Traceback (most recent call last):
    File "/Users/Cyborg/Google Drive/1. Python Projects/46. InstaBot/InstaBot/program.py", line 236, in
    main()
    File "/Users/Cyborg/Google Drive/1. Python Projects/46. InstaBot/InstaBot/program.py", line 228, in main
    bot.cancel_unfollowers()
    File "/Users/Cyborg/Google Drive/1. Python Projects/46. InstaBot/InstaBot/program.py", line 187, in cancel_unfollowers
    self.driver.find_element_by_xpath("/html/body/div[1]/section/main/div/header/section/div[1]/div[2]/div/span/span[1]/button").click()
    File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/selenium/webdriver/remote/webelement.py", line 80, in click
    self._execute(Command.CLICK_ELEMENT)
    File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/selenium/webdriver/remote/webelement.py", line 633, in _execute
    return self._parent.execute(command, params)
    File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute
    self.error_handler.check_response(response)
    File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
    raise exception_class(message, screen, stacktrace)
    selenium.common.exceptions.ElementClickInterceptedException: Message: element click intercepted: Element ... is not clickable at point (686, 14). Other element would receive the click:
    ...

    (Session info: chrome=84.0.4147.105)

from instabot.

autumnlewjb avatar autumnlewjb commented on July 27, 2024

Unfortunately, option 4 starting good but not finalized accordingly :))

I was surprised to the sense that I did not encounter this error, so I can't see the error in action. Could you provide me more insights on the error?

Was the webpage loading or refreshing before the exception is thrown?

from instabot.

cyborg2006 avatar cyborg2006 commented on July 27, 2024

Yes webpage is normally loading. "Following" pop-up is opened and bot started to work. When bot grab all the information from "following", bot opened the "followers" pop-up. In addition scroll-down process started by bot, but couple of seconds later program halt and show the comment.

from instabot.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.