I am trying to scrape a webpage using simple_html_dom and cUrl also. Butin results it returning encrypted type page, (Unreadable characters).
Using Simple Html Dom
$url = 'http://mangafox.me/manga/world_trigger/v01/c001/2.html';
$html = file_get_html($url);
echo $html->plaintext;
Result is This Encrypted Unreadable HTML
With Curl
$ch = curl_init("http://mangafox.me/manga/world_trigger/v01/c001/2.html");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_BINARYTRANSFER, true);
$content = curl_exec($ch);
curl_close($ch);
echo $content;
Result is same as above :( This Behaviour is really strange, Please help.