er_me=1&amp;form_build_id=&quot; + form_id + &quot;&amp;form_id=user_login&amp;op=connecter&quot;
resp, data = cnx.request(&quot;http://www.cornedbeef.fr/beef/login&quot;, &quot;POST&quot;, body = req, headers = h)
new_val = re.findall(r&quot;=([a-f\d]{32});&quot;, resp[&quot;set-cookie&quot;])[0]

cookie = cookie_name + &quot;=&quot; + new_val + &quot;; mt_redirect=true&quot;
print &quot;Login in...&quot;
print &quot;New cookie:&quot;, cookie

h[&quot;Cookie&quot;] = cookie

start = data.find(&quot;&lt;sta