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

AttributeError: 'NoneType' object has no attribute 'group' #26

Open L33tH4x0r opened 6 years ago

L33tH4x0r commented 6 years ago

When running just a basic search on the instagram profile, with python instagramcrawler.py -q instagram -t photos -n 100 -l I get the following error:

Traceback (most recent call last):
  File "instagramcrawler.py", line 360, in <module>
    main()
  File "instagramcrawler.py", line 356, in main
    authentication=args.authentication)
  File "instagramcrawler.py", line 117, in crawl
    self.scroll_to_num_of_posts(number)
  File "instagramcrawler.py", line 161, in scroll_to_num_of_posts
    self._driver.page_source).group()
AttributeError: 'NoneType' object has no attribute 'group'

Any idea on what I'm doing wrong?

phantomjs version 1.9.8 ubuntu 16.04

Lusia731 commented 6 years ago

I got the same problem. Any fix idea?

I'm on Mac OS

Thanks

leohidalgo commented 6 years ago

+1

hongkongrhon commented 6 years ago

+1, on windows

fqiu1kpmg commented 6 years ago

+1 on ubuntu 14

wwwehr commented 6 years ago

hi guys - I made a pull request to fix this here:

https://github.com/iammrhelo/InstagramCrawler/pull/27

uniqmuz commented 5 years ago

+1, it works on wsl