Is there any way that html agility pack would allow me to get the value of the variable
title for example?
Actually you can do it. HtmlAgilityPack gives you the inner html and you pick your texts&variables by your own way.
This code will give you the inner text of script tag. After that, you may split the whole text ending with ";".