Skip to content

Commit

Permalink
new android app ver, show err 5023
Browse files Browse the repository at this point in the history
  • Loading branch information
rdavydov committed Dec 13, 2022
1 parent 36cd602 commit ea2a47c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
12 changes: 6 additions & 6 deletions TwitchChannelPointsMiner/classes/TwitchLogin.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,12 +141,12 @@ def login_flow(self):
use_backup_flow = True
break
# https://github.com/rdavydov/Twitch-Channel-Points-Miner-v2/issues/46
elif err_code == 5023:
logger.error(
"Probably an automatic temporary ban from Twitch. Please wait 24 hours till they lift the ban from the account and try again."
)
use_backup_flow = True
break
# elif err_code == 5023:
# logger.error(
# "Probably an automatic temporary ban from Twitch. Please wait 24 hours till they lift the ban from the account and try again."
# )
# use_backup_flow = True
# break
else:
logger.error(f"Unknown error: {login_response}")
raise NotImplementedError(
Expand Down
3 changes: 2 additions & 1 deletion TwitchChannelPointsMiner/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
"FIREFOX": "Mozilla/5.0 (X11; Linux x86_64; rv:85.0) Gecko/20100101 Firefox/85.0",
},
"Android": {
"App": "Dalvik/2.1.0 (Linux; U; Android 7.1.2; SM-G975N Build/N2G48C) tv.twitch.android.app/13.4.1/1304010"
#"App": "Dalvik/2.1.0 (Linux; U; Android 7.1.2; SM-G975N Build/N2G48C) tv.twitch.android.app/13.4.1/1304010"
"App": "Dalvik/2.1.0 (Linux; U; Android 7.1.2; SM-G977N Build/LMY48Z) tv.twitch.android.app/14.3.2/1403020"
}
}

Expand Down

0 comments on commit ea2a47c

Please sign in to comment.