ScrapeNinja

FREEMIUM
Door Anthony | Bijgewerkt il y a 2 mois | Data
Populariteit

9.9 / 10

Latency

3,569ms

Serviceniveau

94%

Terug naar alle discussies

Unescaped body

avatar
akavexx
il y a 4 mois

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!

avatar
restyler commented il y a 4 mois

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!

Doe mee aan de discussie - voeg hieronder een opmerking toe

Log in / Schrij u in om nieuwe opmerkingen te plaatsen
Beoordeling: 5 - Stemmen: 3