我正在嘗試通過php閱讀aliexpress.com交易頁面。我無法獲得輸出中頁面的詳細信息。無法通過php閱讀aliexpress.com
有沒有一種方法可以得到細節。
以下是代碼。
<?php
include('simple_html_dom.php');
$url = 'http://activities.aliexpress.com/superdeals.php';
$xml = file_get_html($url);
//$file = 'output1.txt';
$element = $xml;
echo $element;
?>
完成任何基本的調試?像跳過simplehtml並執行'var_dump(file_get_contents('http:// ....'))'查看原始返回的數據? – 2014-11-06 22:05:19
該頁面由javascript呈現,可能專門用於禁止您嘗試執行的操作。 – cOle2 2014-11-06 22:08:05