DEV Community

Discussion on: Visualizing Instagram engagement with instascrape and Python

Collapse
 
raghav739 profile image
Raghav Vasudeva

This error

C:\Users\dell\anaconda3\lib\site-packages\instascrape\core_static_scraper.py:134: MissingCookiesWarning: Request header does not contain cookies! It's recommended you pass at least a valid sessionid otherwise
Instagram will likely redirect you to their login page.
warnings.warn(
upload_date comments likes
0 1609352716 NaN NaN
1 1609262155 NaN NaN
2 1609098057 NaN NaN
3 1609010932 NaN NaN
4 1608314370 NaN NaN
5 1608227544 NaN NaN
6 1607624673 NaN NaN
7 1607115440 NaN NaN
8 1605468666 NaN NaN
9 1605464706 NaN NaN
10 1605457109 NaN NaN
11 1605199872 NaN NaN

Collapse
 
chrisgreening profile image
Chris Greening

Alright, the patch has been uploaded, reinstall the library with pip install instascrape==2.1.1 and you should be good to go! Thanks again

Collapse
 
raghav739 profile image
Raghav Vasudeva

*update
reinstall with the following
pip install insta-scrape==2.1.1

Collapse
 
raghav739 profile image
Raghav Vasudeva

Thanks for the quick reply!

Collapse
 
chrisgreening profile image
Chris Greening

Good find! I recently had to reimplement some of the code that's used in this tutorial, I'll fix it right now and get back to you in a bit once the patch is pushed through, thank you for bringing this to my attention!