You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
jsonData = r.text.split('<script type="text/javascript">window._sharedData = ')[1].split(';</script>')[0] # May throw an IndexError if Instagram changes something again; we just let that bubble.
How to reproduce
just get entity from any Instagram class
Expected behaviour
Got error!
Screenshots and recordings
No response
Operating system
ubuntu 23.04
Python version: output of python3 --version
3.11
snscrape version: output of snscrape --version
for post in scraper.get_items():
Scraper
InstagramUserScraper
How are you using snscrape?
Module (import snscrape.modules.something in Python code)
Backtrace
No response
Log output
No response
Dump of locals
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
IndexError: list index out of range
jsonData = r.text.split('<script type="text/javascript">window._sharedData = ')[1].split(';</script>')[0] # May throw an IndexError if Instagram changes something again; we just let that bubble.
How to reproduce
just get entity from any Instagram class
Expected behaviour
Got error!
Screenshots and recordings
No response
Operating system
ubuntu 23.04
Python version: output of
python3 --version
3.11
snscrape version: output of
snscrape --version
for post in scraper.get_items():
Scraper
InstagramUserScraper
How are you using snscrape?
Module (
import snscrape.modules.something
in Python code)Backtrace
No response
Log output
No response
Dump of locals
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: