Skip to content
This repository has been archived by the owner on May 3, 2019. It is now read-only.

TimeoutException #4

Open
PicaKing opened this issue Apr 20, 2017 · 1 comment
Open

TimeoutException #4

PicaKing opened this issue Apr 20, 2017 · 1 comment

Comments

@PicaKing
Copy link

PicaKing commented Apr 20, 2017

Hi
When we run the script in pycharm on windows we get this exception:


C:\Python27\python.exe C:/Users/Vahid/PycharmProjects/instagram/instagramcrawler.py -q instagram -t photos -c -n 100
Number to crawl 100
Traceback (most recent call last):
  File "C:/Users/Vahid/PycharmProjects/instagram/instagramcrawler.py", line 314, in main
    crawler.browse(args.query,args.type).crawl(args.number,args.caption).save()
  File "C:/Users/Vahid/PycharmProjects/instagram/instagramcrawler.py", line 127, in crawl
    self.captions = self._crawl_captions()
  File "C:/Users/Vahid/PycharmProjects/instagram/instagramcrawler.py", line 234, in _crawl_captions
    EC.presence_of_element_located((By.CSS_SELECTOR,CSS_RIGHT_ARROW))
  File "C:\Python27\lib\site-packages\selenium\webdriver\support\wait.py", line 81, in until
    raise TimeoutException(message, screen, stacktrace)
TimeoutException: Message:  

How can we solve the problem?

@tzuhsial
Copy link
Owner

Just pushed a new version, didn't do much testing though

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants