Open Max-Enrik opened 3 years ago
How many videos would you say you've downloaded before this happened? 100? 1,000? 5,000?
Not sure about Instagram, but I do know that Youtube will block your IP for about 3 days if you generate too many requests within any one day. I've narrowed down the number to say 3,000 videos. Download 3000 videos with youtube-dl in one single day and Youtube blocks your IP, giving you a 429: Too many connections error.
Assuming this is your problem, there are three ways around this:
In last month I use youtube-dl for watching instagram videos and I think using youtube-dl to causing to block my instagram account and asks for conformation like below. This is 4th time in last month.
Confirm Your Info on the App to Get Back to Your Account
We noticed unusual activity from your account. Confirm your identity from the Instagram app to get back to your account.
Any ideas?
did you happen to use a cookies.txt file ?? facebook does the same thing, possibly related - https://github.com/ytdl-org/youtube-dl/issues/18978
did you happen to use a cookies.txt file ??
I don't use cookies.txt
file. I don't even know what it does.
How many videos would you say you've downloaded before this happened? 100? 1,000? 5,000?
06/16/2021 I played 13
videos by using mpv youtube-dl - and blocked my Instagram account again.
- Use the option --force-ipv4 or -4 so that Youtube-DL uses IPV4 instead of IPV6. This will be seen by the website as another IP and perhaps the block won't be applied to you. Not sure it will work with all websites. But if your youtube-dl is generating too many requests, it's only a matter of time before your IPV4 is blocked too.
Where should I put it?
How many videos would you say you've downloaded before this happened? 100? 1,000? 5,000?
06/16/2021 I played
13
videos by using mpv youtube-dl - and blocked my Instagram account again.
- Use the option --force-ipv4 or -4 so that Youtube-DL uses IPV4 instead of IPV6. This will be seen by the website as another IP and perhaps the block won't be applied to you. Not sure it will work with all websites. But if your youtube-dl is generating too many requests, it's only a matter of time before your IPV4 is blocked too.
Where should I put it?
If you only downloaded 13 videos then Instagram shouldn't be reacting this way. I don't think the problem is generating too many requests. What do you mean "mpv" youtube-dl? What does mpv stand for? Or perhaps did you generate lots of other requests while downloading those 13 videos?
To force Youtube-DL to download through IPV4: youtube-dl --force-ipv4 [other options, then URL] or youtube-dl -4 [other options, then URL] It's described in the Readme documentation.
Instagram shouldn't be reacting this way.
I have few Instagram accounts since one of my Instagram account blocked again, I stopped using youtube-dl. So far my other account still not blocked.
What does mpv stand for?
It does mean MPV player.
It's described in the Readme documentation.
When my blocked Instagram account unblocked I will read documentation and try it.
In last month I use youtube-dl for watching instagram videos and I think using youtube-dl to causing to block my instagram account and asks for conformation like below. This is 4th time in last month.
Confirm Your Info on the App to Get Back to Your Account
We noticed unusual activity from your account. Confirm your identity from the Instagram app to get back to your account.
Any ideas?