ScrapeNinja

FREEMIUM
By Anthony | Updated 15일 전 | Data
Popularity

9.9 / 10

Latency

3,508ms

Service Level

97%

Health Check

N/A

Back to All Discussions

Unescaped body

Rapid account: Akavexx
akavexx
2년 전

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 2년 전

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!

Join in the discussion - add comment below:

Login / Signup to post new comments