Comments (13)
Hi @timgrossmann, @nacimgoura found a similar issue on his nodejs script (https://github.com/nacimgoura/instagram-profilecrawl) .
The language of the browser change the instagram display. My chrome is in french and not in english.
Hope it's the same issue and it helps you.
from instagram-profilecrawl.
@laurent-d Hmm... well it works when crawling my own profile which also has videos.
Could you give me an username for which this error will occur?
from instagram-profilecrawl.
Thanks @timgrossmann !
I tried with your profile.
I use the last version of Selenium 3.33 for Mac.
Please see below
MacBook-Pro-de-Laurent:instagram-profilecrawl laurentdelacerda$ python3.5 crawl_profile.py grossertim
Extracting information from grossertim
- Could not get information from post: https://www.instagram.com/p/BSHUbpSF61n/?taken-by=grossertim
Traceback (most recent call last):
File "crawl_profile.py", line 20, in
information = extract_information(browser, username)
File "/Users/laurentdelacerda/instagram-profilecrawl/util/extractor.py", line 117, in extract_information
img, tags, likes, comments = extract_post_info(browser)
File "/Users/laurentdelacerda/instagram-profilecrawl/util/extractor.py", line 34, in extract_post_info
img = imgs[1].get_attribute('src')
IndexError: list index out of range
MacBook-Pro-de-Laurent:instagram-profilecrawl laurentdelacerda$
It stop when it arrive to video
from instagram-profilecrawl.
I'm getting the same error. @timgrossmann, which versions are you using for Python and Selenium?
I tried with Python 3.6.1 and Selenium 3.3.3 (edit: on MacOS 10.12). I'm not familiar with Python or Selenium, but I can try other tests if you have suggestions.
from instagram-profilecrawl.
Hi @clbailey ,
I was inspired by this project to make my own script in Javascript. If you know a little nodeJS and npm, you can test my program (https://github.com/nacimgoura/instagram-profilecrawl). There are still bugs but I fix them quickly.
from instagram-profilecrawl.
@laurent-d @clbailey This is really weird, there is no problem with videos for me... I actually covered that case in my script...
For the version information...
selenium (2.53.6)
Make sure to run it with:
python3.5 ...
from instagram-profilecrawl.
I tried without success same.. thanks for your support
from instagram-profilecrawl.
@laurent-d I'm really sorry you get that problems...
I will look into the code and try to fix it.
from instagram-profilecrawl.
@laurent-d Thank you, yes that's the problem. Thank you for pointing it out.
from instagram-profilecrawl.
@laurent-d Please pull the newest version and try again.
from instagram-profilecrawl.
@timgrossmann I still get this errror even when I already pull the newest version
I didn't see you're pushing new commits, your latest commit is 14 days ago
from instagram-profilecrawl.
Update crawl_profile.py
timgrossmann committed on GitHub 3 days ago
from instagram-profilecrawl.
from instagram-profilecrawl.
Related Issues (20)
- 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'
- self.container on InstagramUser class fails
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.