{"sessionid":"a94b746df946a291da9ff434127ea64061","sign":"4fce0b085b49200765644c27e63ac8ebf1296561529ee02aa099e82394ae8e12ea"}
session = requests.Session()
session.post('http://zabbix.local', {
'name': 'mylogin',
'password': 'mypassword',
'autologin': 1,
'enter': 'Sign in'
})
result = session.get('http://zabbix.local/zabbix.php?action=problem.view.csv', headers=session.headers).content
print(result)