From bb85b64e76f3c9beb7f52ac8d7e30447cadd02cf Mon Sep 17 00:00:00 2001 From: Shihaam Abdul Rahman Date: Sun, 19 Sep 2021 20:20:51 +0500 Subject: [PATCH 1/2] added extended app open delay --- bml-tg-notify.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bml-tg-notify.sh b/bml-tg-notify.sh index e86607d..fa96015 100755 --- a/bml-tg-notify.sh +++ b/bml-tg-notify.sh @@ -58,6 +58,8 @@ req_history if [ "$LOGIN_STATUS" != "true" ] then + echo "Looks like app or web was opened... checking again in $APP_OPEN_DELAY" + sleep $APP_OPEN_DELAY login break & loop fi -- 2.47.2 From 0ee2747375f784ff78dcb2419cddb514283b6b9c Mon Sep 17 00:00:00 2001 From: Shihaam Abdul Rahman Date: Sun, 19 Sep 2021 20:21:21 +0500 Subject: [PATCH 2/2] added extended app open delay --- env.sample | 2 ++ 1 file changed, 2 insertions(+) diff --git a/env.sample b/env.sample index 90fcad4..8222851 100644 --- a/env.sample +++ b/env.sample @@ -3,6 +3,8 @@ BML_USERNAME='' #Your BML Username BML_PASSWORD='' #Your BML Password BML_ACCOUNTID='' #Your BML Account ID,NOT to be confused with account number, read the README.md on how to obtain this. +APP_OPEN_DELAY='600' + TG_BOT_TOKEN='' #Your Telegram Bot API Token, Contact @BotFather on Telegram to obtain token TG_CHATID='' #Your Telegram chat ID, This could be your user, group, supergroup or channel ID, add "-100" first if supergroup or channel -- 2.47.2