我想从网页aspx中提取一些数据,但收到以下消息:
1|#||4|29|pageRedirect||%2ferrors%2fGenericError.aspx|
我分析了firefox的发布请求,并获得了以下发布参数:
"headersSize": 1240,
"postData": {
"mimeType": "application/x-www-form-urlencoded",
"params": [
{
"name": "ctl00$ctl00$ScriptManager",
"value": "ctl00$ctl00$ScriptManager|ctl00$ctl00$mainContent$titleContent$btnFiltro"
},
{
"name": "__EVENTTARGET",
"value": ""
},
{
"name": "__EVENTARGUMENT",
"value": ""
},
{
"name": "__VIEWSTATE",
"value": "PkCYlGlXFrliTSNH6KN7/8yf5ADCSjvfUUSaypOfbr7xFKak1ZHd58lBpUfYEM3KoO6r6RyH2yAmWlq038EzsOZDLniglMYHolXdtCvbkc3Q8DGWgpg4O+pHtTIdLfrbcdceMu3Yc9JZXzyLYG3zPKDOHkIiFcf3zAF+SRMK52n+y3MQwdiAP/RMCg2H349812ZGbVD5lwDY0hT4A062zpZ0tcLUolrLZw9gDqR6Y9qWsCHE2PQFmkkSKY+ZUYGA0GuFxxerk8Y7yzSGwQACtNmfmrX2y/r9yjOWZH6exLXQ98rLgRA5z54GubRtFl4IfvQ1qJuECay/p8NPNmU0Db7VWloK78GbM3pM88d57cbBuHkV7SrNYT6mhR+6HM8XBqE5Re0j+0bW141nZE/qxXFhm+J6FNTaGCw6HUwTOVU+2CB8Q9akOnEna5YVOKq5jfDjjcmx6dxdtBQ5HK+JcXyyHU0kOo2aU/2AwM647toYW98MWImXyoYo46Y9awB30lWte882fQMBv+M56s6z3hcHac5AUAPPzeLzJmNMTF+oG7Co2Pa6QQ5itWhQ5t+WyuLb63W4nO6LyWD9T559ZxhXAyCDnjnWROL5Gqk1p9+hjzpWJ9xgCGVXztavIkjTvj6vgxBqTrOnuJE0PFfxbQZyCPEerIen6z9bB8HDkZFkn5A8YbULA7g/d3jWPKtdAkOnk/S0o3c9j/vCeqNhv0R8xGuIF3b8aIEIxOKNlIZAF5INMy2OEG3dB2Iq0AH02qw6/0MH2l6Pu/VC/7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=="
},
{
"name": "ctl00$ctl00$hwsid",
"value": "4f1737ba-1f50-4c8e-bd38-2b3fcf2adbe0"
},
{
"name": "ctl00$ctl00$PageSessionId",
"value": "99b33af9-74e2-4c01-ac20-163a7fc5ed0d"
},
{
"name": "ctl00$ctl00$DefaultUrl",
"value": "/Default.aspx"
},
{
"name": "ctl00$ctl00$GenericErrorUrl",
"value": "../../errors/GenericError.aspx"
},
{
"name": "ctl00$ctl00$PopupElement",
"value": ""
},
{
"name": "ctl00$ctl00$PollingTimeoutSecs",
"value": "60"
},
{
"name": "ctl00$ctl00$mainContent$titleContent$cldDataInizio$txtData",
"value": "26/08/2018"
},
{
"name": "ctl00$ctl00$mainContent$titleContent$cldDataFine$txtData",
"value": ""
},
{
"name": "ctl00$ctl00$mainContent$titleContent$dropStatiRichiesta",
"value": "4"
},
{
"name": "ctl00$ctl00$mainContent$titleContent$dropTipiRichiesta",
"value": "-1"
},
{
"name": "__ASYNCPOST",
"value": "true"
},
{
"name": "ctl00$ctl00$mainContent$titleContent$btnFiltro",
"value": "Filtra"
}
]
所以我在php中编写了以下代码:
$postdata_ini_r =
array(
'ctl00$ctl00$ScriptManager' => 'ctl00$ctl00$ScriptManager|ctl00$ctl00$mainContent$titleContent$btnFiltro',
'ctl00$ctl00$hwsid' => $hwsid_ini,
'ctl00$ctl00$PageSessionId' => $pagesessionid_ini,
'ctl00$ctl00$DefaultUrl' => $defaulturl_ini,
'ctl00$ctl00$GenericErrorUrl' => $genericerrorurl_ini,
'ctl00$ctl00$PopupElement' => '',
'ctl00$ctl00$PollingTimeoutSecs' => $pollingtimeoutsecs_ini,
'ctl00$ctl00$mainContent$titleContent$cldDataInizio$txtData' => $oggi,
'ctl00$ctl00$mainContent$titleContent$cldDataFine$txtData' => '',
'ctl00$ctl00$mainContent$titleContent$dropStatiRichiesta' => '4',
'ctl00$ctl00$mainContent$titleContent$dropTipiRichiesta' => '1',
'__EVENTTARGET' => '',
'__EVENTARGUMENT' => '',
'__VIEWSTATE' => $viewstate_ini,
'__VIEWSTATEGENERATOR' => $viewstategenerator_ini,
'__EVENTVALIDATION' => $eventvalidation_ini,
'__ASYNCPOST' => 'true',
'ctl00$ctl00$mainContent$titleContent$btnFiltro' => 'Filtra'
);
$campo_r = curl_init();
curl_setopt($campo_r , CURLOPT_URL, $richieste_c);
curl_setopt($campo_r , CURLOPT_POST, 1);
curl_setopt($campo_r , CURLOPT_POSTFIELDS, http_build_query($postdata_ini_r));
curl_setopt($campo_r , CURLOPT_RETURNTRANSFER, true);
curl_setopt($campo_r , CURLOPT_USERAGENT, "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0");
curl_setopt($campo_r , CURLOPT_VERBOSE, true);
curl_setopt($campo_r , CURLOPT_FOLLOWLOCATION, true);
curl_setopt($campo_r , CURLOPT_CONNECTTIMEOUT, 60);
curl_setopt($campo_r , CURLOPT_TIMEOUT, 60);
curl_setopt($campo_r , CURLOPT_COOKIE, $cook_aut);
$html_ini_r = curl_exec($campo_r );
curl_close($campo_r );
$htm1_R= htmlentities($html_ini_r);
echo $htm1_R;
我在哪里错了? Cookies是正确的,因为在其他网页上我可以下载数据,链接是正确的,我不知道我哪里写错了。 所有变量都是正确的,我已经检查了值的准确性。
答案 0 :(得分:0)
我通过从 $ postdata_ini_r 中删除参数来解决此问题:
$postdata_ini_r =
array(
'__VIEWSTATE' => $viewstate_ini_r,
'__VIEWSTATEGENERATOR' => $viewstategenerator_ini_r,
'__EVENTVALIDATION' => $eventvalidation_ini_r,
'ctl00$ctl00$hwsid' => $hwsid_ini_r,
'ctl00$ctl00$PageSessionId' => $pagesessionid_ini_r,
'ctl00$ctl00$DefaultUrl' => $defaulturl_ini_r,
'ctl00$ctl00$GenericErrorUrl' => $genericerrorurl_ini_r,
'ctl00$ctl00$PopupElement' => '',
'ctl00$ctl00$PollingTimeoutSecs' => $pollingtimeoutsecs_ini_r,
'ctl00$ctl00$mainContent$titleContent$cldDataInizio$txtData' => $oggi,
'ctl00$ctl00$mainContent$titleContent$cldDataFine$txtData' => '',
'ctl00$ctl00$mainContent$titleContent$dropStatiRichiesta' => '-1',
'ctl00$ctl00$mainContent$titleContent$dropTipiRichiesta' => '-1',
'ctl00$ctl00$mainContent$titleContent$btnFiltro' => 'Filtra'
);
谢谢大家!