InstagramCrawler icon indicating copy to clipboard operation
InstagramCrawler copied to clipboard

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

Open L33tH4x0r opened this issue 6 years ago • 6 comments

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

L33tH4x0r avatar Mar 03 '18 17:03 L33tH4x0r

I got the same problem. Any fix idea?

I'm on Mac OS

Thanks

Lusia731 avatar Mar 05 '18 22:03 Lusia731

+1

leohidalgo avatar Mar 12 '18 20:03 leohidalgo

+1, on windows

hongkongrhon avatar Mar 13 '18 04:03 hongkongrhon

+1 on ubuntu 14

fqiu1kpmg avatar Mar 15 '18 00:03 fqiu1kpmg

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

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

wwwehr avatar Mar 18 '18 18:03 wwwehr

+1, it works on wsl

uniqmuz avatar Jan 30 '19 14:01 uniqmuz