Зачем ты два раза ввел https
Тут будет ошибка с авторизацией
proxies = {
"http": "192.168.1.65:9856",
"https": "192.168.1.65:9856"
}
with requests.Session() as s:
auth = HTTPProxyAuth("login", "pass")
s.proxies = proxies
s.auth = auth
exemple = s.get('https://ya.ru')
print(exemple.text)
requests.exceptions.ProxyError: HTTPSConnectionPool(host='ya.ru', port=443): Max retries exceeded with url: / (Caused by ProxyError('Cannot connect to proxy.', OSError('Tunnel connection failed: 407 Proxy Authentication Required')))