This commit is contained in:
Evgeny Zinoviev 2021-04-20 00:55:58 +03:00
parent 9d44b010d3
commit a5eb909949

View File

@ -43,8 +43,8 @@ if __name__ == '__main__':
# if found anything, send to telegram # if found anything, send to telegram
if results: if results:
text = 'new mos-gorsud findings:\n'.join(results) text = '\n'.join(results)
r = requests.post('https://api.telegram.org/bot%s/sendMessage' % args.token, data={ r = requests.post('https://api.telegram.org/bot%s/sendMessage' % args.token, data={
'chat_id': args.chat_id, 'chat_id': args.chat_id,
'text': text 'text': 'new mos-gorsud findings:\n' + text
}) })