proxy = {'http': 'http://' + ip,
'https': 'https://' + ip,
}
header = {'User-Agent': random.choice(headers)}
session = requests.Session()
session.proxies = proxy
vk_session = vk_api.VkApi(token=AccountToken)
vk_session.http.proxies = proxy