url = 'https://avito.ru/'
headers = {'user-agent': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0', 'accept': '*/*'}
proxyDict = {
'https': 'https://47.253.10.161:8080'
}
def req(self, url):
r = requests.get(url, headers=headers, proxies=proxyDict)
return r