Use Curl to get the following link redirection URL:
http://www.amazon.com/Bengoo-Portable-Desktop-Electric-Rechargeable/dp/tech-data/B01F70ZGYW%3FSubscriptionId% 3dakiajwxt2mcy6zqdw7vq%26tag%3dassociatetag%26linkcode%3dsp1%26camp%3d2025%26creative%3d386001%26creativeasin% 3db01f70zgyw
I crawled to the redirected link or this URL.
And the actual URL is:
http://www.amazon.com/dp/b01f70zgyw?_encoding=utf8&subscriptionid=akiajwxt2mcy6zqdw7vq& Showdetailtechdata=1&tag=associate#technical-data
Reply content:
Use Curl to get the following link redirection URL:
http://www.amazon.com/Bengoo-Portable-Desktop-Electric-Rechargeable/dp/tech-data/B01F70ZGYW%3FSubscriptionId% 3dakiajwxt2mcy6zqdw7vq%26tag%3dassociatetag%26linkcode%3dsp1%26camp%3d2025%26creative%3d386001%26creativeasin% 3db01f70zgyw
I crawled to the redirected link or this URL.
And the actual URL is:
http://www.amazon.com/dp/b01f70zgyw?_encoding=utf8&subscriptionid=akiajwxt2mcy6zqdw7vq& Showdetailtechdata=1&tag=associate#technical-data
$url = "http://www.amazon.com/Bengoo-Portable-Desktop-Electric-Rechargeable/dp/tech-data/B01F70ZGYW%3FSubscriptionId%3DAKIAJWXT2MCY6ZQDW7VQ%26tag%3DASSOCIATETAG%26linkCode%3Dsp1%26camp%3D2025%26creative%3D386001%26creativeASIN%3DB01F70ZGYW";$ch = curl_init();curl_setopt($ch, CURLOPT_URL, $url);curl_setopt($ch, CURLOPT_HEADER, TRUE);curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);curl_setopt($ch, CURLOPT_USERAGENT, "Fiddler");curl_setopt($ch, CURLOPT_HEADER, TRUE);$response = curl_exec($ch);curl_close($ch);preg_match_all('/^Location:(.*)$/mi', $response, $matches);echo ! empty($matches[1]) ? trim($matches[1][0]) : 'No redirect found';
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);