send progress to bot

This commit is contained in:
randogoth 2023-05-22 11:55:02 +03:00
parent 5d372d9010
commit 43220b42f3

View file

@ -43,7 +43,7 @@ def track():
}
})
send_msg(f'User <{hash}> visited { url } on { ua }')
send_msg(f'User <{hash}> visited { url } on { ua } ({ str(len(db[hash][cat])) })')
with open('db.json', 'w+') as dbw:
dbw.write(json.dumps(db, indent=4))