JustAnotherArchivist / snscrape

A social networking service scraper in Python
GNU General Public License v3.0
4.5k stars 712 forks source link

Instagram change something! index Error. #1034

Closed erfan-sams closed 1 year ago

erfan-sams commented 1 year ago

Describe the bug

IndexError: list index out of range

jsonData = r.text.split('')[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

JustAnotherArchivist commented 1 year ago

520