1
我得到了以下的html文件:如何使用HtmlAgilityPack解析HTML文檔中的JSON變量?
document.html
<head>
<!-- head stuff -->
</head>
<body>
<!-- lot of html -->
<script>
yt.setConfig({
'VIDEO_ID': null,
'IS_UNAVAILABLE_PAGE': true <!-- I want to get true from here -->
});
</script>
</body>
,我想用HtmlAgilityPack獲得從這裏真正:
'IS_UNAVAILABLE_PAGE': true