Twitch-Channel-Points-Miner-v2
Twitch-Channel-Points-Miner-v2 copied to clipboard
Multiple account support
Hello, it would be nice if it was possible to run either multiple instances of this or for it to run with multiple twitch accounts. The reason this isn't possible is because whenever you log out of the browser and attempt to run another the main instance will error since it is no longer logged in. I am unsure if this is possible to implement however it would be nice to put this into consideration! Thanks.
big vouch
It does work, it might just depend on your setup though. I just run two instances of the script occasionally, in separate directories, in their own tmux session (Linux obviously). This is a headless VM with no browser, but I assume if you’re just logged out of your browser (maybe clear your twitch cookies), the script should prompt you and just work
If you log in based on the cookies from your browser (be it imported manually or grabbed from browsers storage), you'll obviously get problems when that session gets logged out.
I suggest always logging in as a new session, the program should ask for password and 2fa interactively, if I'm not mistaken.
Edit to add: You can always have multiple setting files in the same directory. Have an account1.py
with your first account settings, and then another account2.py
for another accounts settings. They'll run their own analytics pages if set up, but they can run entirely independent of each other.
Все и так работает, у меня 100+ акков было запущено. очевидно вы импортируете куки из браузера? если это так то когда вам нужно импортировать новый аккаунт, не выходите в браузере из твича который уже импортирован, а удалите куки твича при помощи плагина "редактировать эти куки" и войдите в новый аккаунт.
Все и так работает, у меня 100+ акков было запущено. очевидно вы импортируете куки из браузера? если это так то когда вам нужно импортировать новый аккаунт, не выходите в браузере из твича который уже импортирован, а удалите куки твича при помощи плагина "редактировать эти куки" и войдите в новый аккаунт.
Everything works anyway, I have 100+ accounts running. obviously you are importing cookies from the browser? if so then when you need to import a new account, do not exit the browser from the twitch that has already been imported, but delete the twitch cookies using the "edit these cookies" plugin and log into the new account.
@GlitteredNeko, has what I suggested worked for you?
If you log in based on the cookies from your browser (be it imported manually or grabbed from browsers storage), you'll obviously get problems when that session gets logged out.
I suggest always logging in as a new session, the program _should _ ask for password and 2fa interactively, if I'm not mistaken.
Edit to add: You can always have multiple setting files in the same directory. Have an
account1.py
with your first account settings, and then anotheraccount2.py
for another accounts settings. They'll run their own analytics pages if set up, but they can run entirely independent of each other.
I tried this but i get DC problems. I don't know why.
[I just created 2 different folders so i run account1 and account2 separately, i tried same in 1 folder but it seems to have same issue, maybe im missing something, im using windows 8 i don't think that it matters as much because on w10 with 1 acc works fine] How do you manage few accounts? What settings for betting do you use also? I'm having a bit harder time to understand. I want always to be on side that there are less people betting on for example.
If you log in based on the cookies from your browser (be it imported manually or grabbed from browsers storage), you'll obviously get problems when that session gets logged out.
I suggest always logging in as a new session, the program should ask for password and 2fa interactively, if I'm not mistaken.
Edit to add: You can always have multiple setting files in the same directory. Have an
account1.py
with your first account settings, and then anotheraccount2.py
for another accounts settings. They'll run their own analytics pages if set up, but they can run entirely independent of each other.
how did you do it? @ColinShark
how did you do it?
@BarboPT, I'm essentially repeating myself:
Instead of having just a run.py
for your settings, make a second file for your other account(s). Copy the example.py
or your run.py
and change the copy to fit your other account(s), then run them in their own shells, or as their own services.
See https://github.com/Tkd-Alex/Twitch-Channel-Points-Miner-v2/issues/496#issuecomment-1118383733
how did you do it?
@BarboPT, I'm essentially repeating myself: Instead of having just a
run.py
for your settings, make a second file for your other account(s). Copy theexample.py
or yourrun.py
and change the copy to fit your other account(s), then run them in their own shells, or as their own services. See #496 (comment)
@ColinShark I put the accounts in example.py right? twitch_miner = TwitchChannelPointsMiner( username='aaa' password='aaa'
twitch_miner = TwitchChannelPointsMiner( username='aaa' password='aaa'
??? I just want to let it run by console is it possible? I don't want her to use "analytics"
import example.py for run other account ?
How do I do that?
Le jeu. 5 mai 2022 à 6:08 a.m., ColinShark @.***> a écrit :
If you log in based on the cookies from your browser (be it imported manually or grabbed from browsers storage), you'll obviously get problems when that session gets logged out.
I suggest always logging in as a new session, the program should ask for password and 2fa interactively, if I'm not mistaken.
— Reply to this email directly, view it on GitHub https://github.com/Tkd-Alex/Twitch-Channel-Points-Miner-v2/issues/496#issuecomment-1118383733, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXRAAOMQWEUZHN2K4TACKGDVIOMZNANCNFSM5U737GUQ . You are receiving this because you commented.Message ID: @.***>