import urllib.parse
import urllib.request
import http.cookiejar

url = 'http://stwebdv.thyssenkruppelevadores.com.br/scripts/gisdesenv.pl/swfw3.r'
values = {'usuario' : 'admin',
          'senha' : 'tke'}

cj = http.cookiejar.CookieJar()
data = urllib.parse.urlencode(values).encode('utf-8')
opener = urllib.request.build_opener(urllib.request.HTTPCookieProcessor(cj))
req = urllib.request.Request(url, data)
response = opener.open(req)
cj.extract_cookies(response, req)

print(cj._cookies)
@@ -58,17 +58,132 @@
 kiejar%0A%0A
-u
+cj = http.cookiejar.CookieJar()%0Aopener = urllib.request.build_opener(urllib.request.HTTPCookieProcessor(cj))%0A%0AloginU
 rl = 'ht
@@ -255,22 +255,25 @@
 wfw3.r'%0A
-values
+loginData
  = %7B'usu
@@ -292,18 +292,8 @@
 in',
-%0A         
  'se
@@ -311,41 +311,13 @@
 '%7D%0A%0A
-cj = http.cookiejar.CookieJar()%0Ad
+postD
 ata 
@@ -345,14 +345,17 @@
 ode(
-values
+loginData
 ).en
@@ -368,22 +368,23 @@
 utf-8')%0A
-opener
+request
  = urlli
@@ -397,64 +397,378 @@
 est.
-build_opener(urllib.request.HTTPCookieProcessor(cj)
+Request(loginUrl, postData)%0Aresponse = opener.open(request)%0A%0AcompilerUrl = 'http://stwebdv.thyssenkruppelevadores.com.br/scripts/gisdesenv.pl/progs/swfw0080'%0AcompilerData = %7B'Arquivo' : 'c:/sisweb/desenv/ait/ait_aacm1.html,c:/sisweb/desenv/ait/ait_aacm2.html,c:/sisweb/desenv/ait/ait_aacm3.html,'%7D%0A%0ApostData = urllib.parse.urlencode(compilerData).encode('utf-8'
 )%0Areq
+uest
  = u
@@ -793,14 +793,26 @@
 est(
-url, d
+compilerUrl, postD
 ata)
@@ -842,59 +842,45 @@
 (req
-)%0Acj.extract_cookies(response, req)%0A%0Aprint(cj._cookies
+uest)%0A%0Apage = response.read()%0Aprint(page
 )

Add files to be compiled.