I'm creating a script in Python 3 which access a page like:
example.com/daora/zz.asp?x=qqrzzt
using the urllib.request.urlopen("example.com/daora/zz.asp?x=qqrzzt"), but this code just give me the same page(example.com/daora/zz.asp?x=qqrzzt) and on the browser i get a redirect to a page like:
example.com/egg.aspx
What could i do to retrieve the
example.com/egg.aspx
and not the
example.com/daora/zz.asp?x=qqrzzt
I think this is relevant code, this is the code from "example.com/daora/zz.asp?x=qqrzzt":
<head>
<script language="JavaScript">
<!--
function Submit()
{
document.formzz.submit();
}
-->
</script>
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="javascript:Submit();">
<form name="formZZ" method="post" action="http://example.com/egg.aspx">
<input type="hidden" name="token" value="UFASGFJKASGDJFGAJS">
</form>