Comments (4)
the documentation isn't up to date, change line 14 in crawl_profile.py
to
Settings.chromedriver_location = 'assets/chromedriver'
or install chromedriver in /usr/bin/chromedriver
from instagram-profilecrawl.
Thanks! I'm still getting an error, although it appears to be a different one now.
Traceback (most recent call last):
File "crawl_profile.py", line 21, in <module>
information, user_commented_list = extract_information(browser, username, Settings.limit_amount)
File "/Users/aylsj/Documents/Projects/instagram-profilecrawl/util/extractor.py", line 441, in extract_information
ig_user.get_user_info()
File "/Users/aylsj/Documents/Projects/instagram-profilecrawl/util/extractor.py", line 78, in get_user_info
self.bio = self._user_bio()
File "/Users/aylsj/Documents/Projects/instagram-profilecrawl/util/extractor.py", line 53, in _user_bio
bio = self.container.find_element_by_class_name('-vDIg').find_element_by_tag_name('span').text
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/selenium/webdriver/remote/webelement.py", line 305, in find_element_by_tag_name
return self.find_element(by=By.TAG_NAME, value=name)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/selenium/webdriver/remote/webelement.py", line 658, in find_element
return self._execute(Command.FIND_CHILD_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.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"css selector","selector":"span"}
(Session info: headless chrome=79.0.3945.88)
from instagram-profilecrawl.
It doesn't seem to find any profile info, make sure the profile exists and isn't private or anything (an easy way to test it is to open it in Chrome)
from instagram-profilecrawl.
I realized I'm getting this error message for the profiles that I tried before fixing the chromedriver error. But any new profiles I try after fixing chromedriver error, it works. Is it saving the history somewhere that is preventing me from running those profiles?
from instagram-profilecrawl.
Related Issues (20)
- urllib3 MaxRetryError
- Error in line 19 HOT 1
- Getting error in extractor.py HOT 2
- not getting commenst of users and who liked particular photo info HOT 1
- selenium.common.exceptions.NoSuchElementException HOT 5
- Error on crawl_profile.py HOT 3
- login failed HOT 8
- TypeError: get_logger() missing 1 required positional argument: 'show_logs' HOT 14
- webdriver error HOT 1
- unknown error: DevToolsActivePort file doesn't exist HOT 3
- Increase ultimate followers
- List of followings?
- question: is this an archive or is it still open?
- I want to participate in project to fix README.md
- INSTA HACK
- I don't understand what is going wrong? HOT 4
- crawl_profile_pi.py - Is missing.
- A
- Wrong class name
- AttributeError: 'str' object has no attribute 'capabilities' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from instagram-profilecrawl.