[英]wget result from site with cookies
嘗試在網站上輸入一個數字,然后使用WGET獲取結果。 [http://]
我已經嘗試過wget --cookies=on --save-cookies=site.txt URL
來保存sessionID / cookie,然后繼續執行' wget --cookies=on --keep-session-cookies --load-cookies=site.txt URL
',但是沒有運氣。
還嘗試監視通過WireShark發送的POST數據,並嘗試使用wget --post-data --referer等復制它,但是也沒有運氣。
有什么簡單的方法嗎? 我全是耳朵! :)
非常感謝所有幫助。
謝謝。
技巧是將第二個請求發送到http://202.91.22.186/dms-scw-dtac_th/page/?wicket:interface=:0:2:::0:
對於我的Xidel,它看起來像這樣(沒有有效的數字可以測試)
xidel "http://202.91.22.186/dms-scw-dtac_th/page/" -f '{"post": "number=0812345678", "url": resolve-uri("?wicket:interface=:0:2:::0:")}' -e "#id5"
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.