我无法访问 https://clm.sonatype.com 网址,因为 mcAfee 页面要求我点击“我同意”按钮。
有什么办法可以使用 cURL 通过命令行点击“我同意”按钮?
curl -v --proxy xxxxxxxxxx:xxxx -U XXXXX:xxxxx --cacert clm.pem https://clm.sonatype.com
包含我同意(J'accepte)按钮的页面部分:
<table class="buttonTable">
<form id="activateform" method="post">
<tr>
<td class="infoData">
<b>Accepter les conditions: </b>
</td>
<td class='printInfoData' text-align="left">
<input class="button" type="button" id="activatebutton" value="J'accepte" onClick="activateSession("/mwg-internal/de5fs23hu73ds/plugin?target=QuotaPlugin&quotatype=coaching","","aHR0cHM6Ly9jbG0uc29uYXR5cGUuY29tLw=="); return false;">
<br />
</td>
</tr>
</form>
</table>
谢谢。