needle.get(URL, options, function(err, res){
if (err) throw err;
URL += res.body.match(/url.?\+=(.*?)\;/m)[1].replace(/("|\+| )/g,'');
needle.get(URL, options, function(err, res){
if (err) throw err;
console.log(res.body) // список то, что надо))
})
})
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="refresh" content="10;URL=/ciez2a">
</head>
<body>
<script type="text/javascript">
var ipp = {
setCookie:function()
{
document.cookie="ipp_key=1527755097524/h7zCvQXgh2+L+EWvDaVKVw==; path=/;";
document.cookie="ipp_uid1=1527755097524; expires=Tue, 31 Dec 2030 23:59:59 GMT; path=/;";
document.cookie="ipp_uid2=sWhAnsKBd4mZakia/nx4H4mtaBqrmhGvIn0dvJA==; expires=Tue, 31 Dec 2030 23:59:59 GMT; path=/;";
},
makeUrl:function(url)
{
url += "fa821dba_ipp_key=1527755097524%2fh7zCvQXgh2%2bL%2bEWvDaVKVw%3d%3d" + "&" + "fa821dba_ipp_uid1=1527755097524" + "&" + "fa821dba_ipp_uid2=sWhAnsKBd4mZakia%2fnx4H4mtaBqrmhGvIn0dvJA%3d%3d";
return url;
}
};
location.href=ipp.makeUrl("https://vprognoze.ru/engine/modules/fc_resultat_ajax.php?ajax=1&utm_referrer=&");
</script>
</body>
</html>
var options = {
follow_max : 0,
cookies : {'PHPSESSID':'skli1b65snt35h711avsol1pf0','__utma':'187128303.1559135164.1527683343.1527683343.1527748290.2','__utmc':'187128303','__utmz':'187128303.1527748290.2.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)','autotimezone':'3','ipp_key':'1527750126273/gMwnIDpl5iHPg9XE9ED4tQ==','ipp_uid1':'1527683446646','ipp_uid2':'ZYYPmuqSHGaCxLIG/58thlU3O1p3g9BTjQxPrEg==','login_user_token':'d4866adec676ad24de65bfcf25bef62a','rerf':'AAAAAFsOmXUTJNWkA4Q4Ag==',}
}
needle.get(URL, options, function(err, res){
if (err) throw err;
console.log(res.body) //temporaryRedirect
});