ScrapeNinja

免费增值
通过 Anthony | 已更新 4 days ago | Data
人气

9.9 / 10

延迟

2,898ms

服务等级

98%

Health Check

N/A

返回所有讨论

Unescaped body

Rapid account: Akavexx
akavexx
a year ago

Hello,

Is there any way in which we can return an unescaped body of the html page? Even the test on the site here returns escaped code. I’m not sure if we can use a function within the API to generate unescaped code or get the html page as it is. I’m using C# htmlclient.

Thank you!

Rapid account: Restyler
restyler Commented a year ago

Hi! ScrapeNinja returns JSON structure (serialized to string), as a response. To get the unescaped html page, you basically need to unserialize returned json (to get JSON object), and retrieve the .body property from the object.
Let me know if this helps.

Cheers!

加入讨论 - 在下面添加评论:

登录/注册以发布新的评论