page = ses.get("http://mrush.mobi/welcome", headers=headers, proxies=proxies).text
soup = bs4(page, 'html.parser')
data = {"name": login, "password": password}
if "я не робот" in page:
styles = soup.find_all('style')
for style in styles:
if not "none" in str(style):
if not "hidden" in str(style):
try:
str(style).split('margin-left: ')[1].split('px')[0]
except:
find = str(style).split('.')[1].split('{')[0]
div = soup.find('div', {"class": find})
id = str(div).split('" type="checkbox" value=""/>я не')[0].split('"')[-1]
data[id] = ""