Wouldn't risk trying to extract from IG too much, I used to yt-dlp from it a lot and use scripts to extract the images because I like to archive references, nothing on a massive scale we're talking <20 times a month and I got a warning that I could lose my username if I "use automated scraping tools".
Oh! Were you using your user cookie? I use yt-dlp a couple times a month, but I think I'm always unauthenticated (although I guess they could match my IP address in their logs)
Ah OK, I was thinking about youtube, I re-read it and saw noticed you were talking IG. Yeah, I've noticed some IG URLs are suspicious: different from other users or opening related info that it shouldn't be there.