diff --git a/player.js b/player.js index 1923614..2c625df 100644 --- a/player.js +++ b/player.js @@ -71,6 +71,7 @@ app.get('/play', function(req,resp){ xml += data; }).on('end', function() { // the whole of webpage data has been collected. parsing time! + xml = xml.replace('&',''); parser.parseString(xml, function(err,result){ console.log("xml: "+xml); console.log("Object: "+JSON.stringify(result));