I just discovered this program, and I've been following the tutorial to try and scrape a basic Instagram profile, but I keep getting the same error when I try and run it. Each time I try and run my code, I get an error message about the JSON index being out of range. I'm not really sure why this is happening, and I don't know how to fix it since I can't see the JSON data that's being scraped. The code I have is the following:
I just discovered this program, and I've been following the tutorial to try and scrape a basic Instagram profile, but I keep getting the same error when I try and run it. Each time I try and run my code, I get an error message about the JSON index being out of range. I'm not really sure why this is happening, and I don't know how to fix it since I can't see the JSON data that's being scraped. The code I have is the following:
If anyone can offer some advice on what I'm doing wrong or why the issue is occurring that would be appreciated.