kricha / insta_bot Goto Github PK
View Code? Open in Web Editor NEWbot for some instagram automation
bot for some instagram automation
Open https://www.instagram.com/accounts/login/
Trying to auth with cookies.
Successful authorization with cookies.
Open https://www.instagram.com/
Start scrolling page.
1%|█▏ | 2/300 [00:00<01:56, 2.56it/s]Browser process was ended
Traceback (most recent call last):
File "like_my_feed.py", line 26, in
br.process_feed(count)
File "/home/musicwarez/work/insta_bot/env/lib/python3.6/site-packages/insta_browser/browser.py", line 102, in process_feed
processor.process(self.exclude, self.login)
File "/home/musicwarez/work/insta_bot/env/lib/python3.6/site-packages/insta_browser/processors/feed_processor.py", line 89, in process
heart = real_post.find_element_by_css_selector('div:nth-child(3) section a:first-child')
File "/home/musicwarez/work/insta_bot/env/lib/python3.6/site-packages/selenium/webdriver/remote/webelement.py", line 430, in find_element_by_css_selector
return self.find_element(by=By.CSS_SELECTOR, value=css_selector)
File "/home/musicwarez/work/insta_bot/env/lib/python3.6/site-packages/selenium/webdriver/remote/webelement.py", line 659, in find_element
{"using": by, "value": value})['value']
File "/home/musicwarez/work/insta_bot/env/lib/python3.6/site-packages/selenium/webdriver/remote/webelement.py", line 633, in _execute
return self._parent.execute(command, params)
File "/home/musicwarez/work/insta_bot/env/lib/python3.6/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "/home/musicwarez/work/insta_bot/env/lib/python3.6/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":"css selector","selector":"div:nth-child(3) section a:first-child"}
(Session info: headless chrome=71.0.3578.98)
(Driver info: chromedriver=2.41.578700 (2f1ed5f9343c13f73144538f15c00b370eda6706),platform=Linux 4.15.0-43-generic x86_64)
Traceback (most recent call last):
File "like_tag.py", line 4, in
from insta_browser import browser
ModuleNotFoundError: No module named 'insta_browser'
Answer please.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.