我想從https://code.google.com/codejam/contest/8304486/dashboard獲取頁面內容 我無法使用php file_get_contents
。下載使用腳本獲取內容的網頁
我也試過
wget -r https://code.google.com/codejam/contest/8304486/dashboard
,不能正常工作。
也試圖使用jQuery。
$("#divcontent").load("https://code.google.com/codejam/contest/8304486/dashboard");
這也行不通。任何想法我怎麼能得到這個網頁?
您是否嘗試過不同的URL?有些網站,如谷歌,不會讓你刮他們的網站。在某些情況下,您需要在您的標題中添加代理... etc – Perspective
我可以下載其他頁面,例如「www.google.com」,但我想下載此特定頁面和類似的頁面。 –