Sort:  

Worked thanks for your reply

And thanks for resteeming, At this moment it uses curl and sed in a bash script.