fix
This commit is contained in:
parent
9d44b010d3
commit
a5eb909949
@ -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
|
||||||
})
|
})
|
Loading…
x
Reference in New Issue
Block a user