ueil_jeux&quot;, headers=h)

JSESSIONID = resp[&quot;set-cookie&quot;].split(&quot;=&quot;)[1].split(';')[0]
h[&quot;Cookie&quot;] = &quot;JSESSIONID=&quot; + JSESSIONID


d = {}
soup = BeautifulSoup.BeautifulSoup(data)
form_url = soup.form[&quot;action&quot;]
for input in soup.form.findAll(&quot;input&quot;):
    if input[&quot;type&quot;] == &quot;image&quot;:
        continue
    if input[&quot;name&quot;].endswith(&quot;login}&quot;):
        d[input[&quot;name&quot;]] = &quot;hacker&quot;
    elif inpu