Giter Club home page Giter Club logo

instagram-like-comment-bot's Introduction

Typing SVG

Connect on LinkedIn Follow on CodePen Follow on Twitter Follow on Instagram

  • ๐ŸŽ“ May 2020 - B.S. in Computer Science
  • ๐Ÿ’ป Currently working as a Quality Assurance Engineer in restaurant tech
  • ๐Ÿ’ฌ Talk to me about photography ๐Ÿ“ท
  • ๐Ÿ‘‘ Pronouns: she/her
  • ๐ŸŽฒ Fun fact: I like building and modding custom mechanical keyboards
  • ๐ŸŒด Check out my website anniew.xyz

Profile Views

๐Ÿ’™ Open for a Programming Dad Joke
Programming Dad Joke Card

If you like my content or find anything useful, give it a โญ or support me by buying me a coffee โ˜•๐Ÿ˜€

Buy Me A Coffee

instagram-like-comment-bot's People

Contributors

anniedotexe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

instagram-like-comment-bot's Issues

Error after chromedriver launch

The script stars opens up Chromedriver but then gives me the following error

username = browser.find_element_by_name('username')
AttributeError: 'WebDriver' object has no attribute 'find_element_by_name'

Issue on start

The script will open a window in Chrome, but then proceed to close it and give me this error:

INFO [01/28/2023 08:54:39 PM] Logged in to bobjefferson141
Traceback (most recent call last):
File "C:\Users\antho\OneDrive\Documents\Visual Studio 2022\Workspaces\PIP\Instagram-Like-Comment-Bot\insta-bot.py", line 69, in
browser.get(
File "C:\Users\antho\AppData\Local\Programs\Python\Python311\Lib\site-packages\selenium\webdriver\remote\webdriver.py", line 333, in get
self.execute(Command.GET, {'url': url})
File "C:\Users\antho\AppData\Local\Programs\Python\Python311\Lib\site-packages\selenium\webdriver\remote\webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "C:\Users\antho\AppData\Local\Programs\Python\Python311\Lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.InvalidSessionIdException: Message: invalid session id

How can I fix this issye?

The script doesn't click the picture after found the tag:

C:\Users\aorek\Desktop\Python Bots\Instagram-Like-Comment-Bot-master\Instagram-Like-Comment-Bot-master> python insta-bot.py
INFO [04/23/2022 09:44:37 PM] Logged in to amca_st
INFO [04/23/2022 09:44:41 PM] Exploring #urbanandstreet
Traceback (most recent call last):
File "C:\Users\aorek\Desktop\Python Bots\Instagram-Like-Comment-Bot-master\Instagram-Like-Comment-Bot-master\insta-bot.py", line 75, in
first_thumbnail = browser.find_element_by_xpath(
File "C:\Users\aorek\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\selenium\webdriver\remote\webdriver.py", line 394, in find_element_by_xpath
return self.find_element(by=By.XPATH, value=xpath)
File "C:\Users\aorek\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\selenium\webdriver\remote\webdriver.py", line 976, in find_element
return self.execute(Command.FIND_ELEMENT, {
File "C:\Users\aorek\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\selenium\webdriver\remote\webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "C:\Users\aorek\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\selenium\webdriver\remote\errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"xpath","selector":"/html/body/div[1]/div/div/section/main/article/div[1]/div/div/div[1]/div[1]/a/div/div[2]"}
(Session info: chrome=100.0.4896.127)

Any solution how to fix it?

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.