Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Too often blocked, How to avoid it? #160

Open
favainhat opened this issue Sep 29, 2023 · 3 comments
Open

Too often blocked, How to avoid it? #160

favainhat opened this issue Sep 29, 2023 · 3 comments

Comments

@favainhat
Copy link

When I use this script, I constantly get blocked within 5 minutes.

In my experience, it seems to be worse in 4.0.2 compared to 3.2.4.
Anyway, Obtaining a live URL just retrieving user information, it seems not direct reason for the blocked.

I think periodic polling happens from comments or heartbeats and it is the real reason.
I mean, (Tested only on 3.2.4)

download_comments = False
do_heartbeat = False

If I do this, I think it will be less blocked.
Or Is there another way?

Nonetheless, doing this will make your account being blocked.

:loop
pyinstall -df
timeout 15 > nul
goto loop

However, we can know the start of Instagram Live With a browser notification.
(Probably, your account is conneted on your phone and all notifications are should turn on.)
There is no easy way to detect web push, so I have to detect Windows notifications.
And simply run pyinstallive -df

I wanted to use the C# example, but due to memory leaks, I have to use ahk script in internet with modification.
I put it in my github repo.(Windows only!)
https://github.com/favainhat/igl_demo

I have candidate for more better, but it needs more testing....

@cykac04
Copy link

cykac04 commented Nov 7, 2023

Is instagram web push only work for linux Firfox when the browser is opened? I cannot find any notification in the dbus monitor.

@favainhat
Copy link
Author

favainhat commented Nov 9, 2023

yes.
Of course, you should subscribe from firefox Instagram notifications,
and receive notifications through native notifications.

However, if you can take the risk, it may be better to rely on mqtt notifications.
I don't think that will happen too often, If you receive the notification too late,
https://github.com/evanc577/download-iglive
I heard this will allow to get the live from the start. (ffmpeg and ffprobe must be installed.)

@Milor123
Copy link

yes. Of course, you should subscribe from firefox Instagram notifications, and receive notifications through native notifications.

However, if you can take the risk, it may be better to rely on mqtt notifications. I don't think that will happen too often, If you receive the notification too late, https://github.com/evanc577/download-iglive I heard this will allow to get the live from the start. (ffmpeg and ffprobe must be installed.)

Thank u very much for search. I was looking for it, i want try it. :3 Love you bro!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants