instagram-crawler
instagram-crawler copied to clipboard
AttributeError
Thank you for sharing great code. recently I have been struggling with AttributeError, so i came here to ask question.
whenever i try to crawl more than 500 post, AttribueError comes up.
What I wrote is : $ python crawler.py hashtag -t paris -n 10000 -o ./output
and Error message is :
AttributeError: 'NoneType' object has no attribute 'get_attribute'
File "C:\Users\inhye\projects\crawler\ins-crawler\inscrawler\crawler.py", line 155, in _get_posts_full cur_key = ele_a_datetime.get_attribute('href')
I have been trying to fix this problem for 3 weeks but it was not sucessful. I wonder if there is some way to solve this problem
Hi @inhyek,
Did you modify the code? It shouldn't run into the function _get_posts_full
if you are using hashtag
cmd.