tzuhsial / InstagramCrawler

A non API python program to crawl public photos, posts or followers
https://github.com/iammrhelo/InstagramCrawler
MIT License
373 stars 108 forks source link

Timeout exception #13

Closed sarahmichele closed 6 years ago

sarahmichele commented 6 years ago

I am getting the following error. The CSS selector needs to be updated from what is in the code (it is now "a._1cr2e _epyes"), but that still does not solve it for me.

Any insights much appreciated!

Traceback (most recent call last): File "C:/Users/QS-2 SARAH/Desktop/IG/IGcrawler.py", line 360, in main() File "C:/Users/QS-2 SARAH/Desktop/IG/IGcrawler.py", line 356, in main authentication=args.authentication) File "C:/Users/QS-2 SARAH/Desktop/IG/IGcrawler.py", line 119, in crawl self.scroll_to_num_of_posts(number) File "C:/Users/QS-2 SARAH/Desktop/IG/IGcrawler.py", line 171, in scroll_to_num_of_posts (By.CSS_SELECTOR, CSS_LOAD_MORE)) File "C:\Users\QS-2 SARAH\Anaconda2\lib\site-packages\selenium\webdriver\support\wait.py", line 80, in until raise TimeoutException(message, screen, stacktrace) TimeoutException

sarahmichele commented 6 years ago

**This issue is solved. The CSS_LOAD_MORE should be "a._1cr2e._epyes"

aarzamasov commented 6 years ago

thank you @sarahmichele - thats works!