ScrapeNinja

FREEMIUM
Door Anthony | Bijgewerkt 14 days ago | Data
Populariteit

9.9 / 10

Latency

3,464ms

Serviceniveau

97%

Health Check

N/A

Terug naar alle discussies

Unescaped body

Rapid account: Akavexx
akavexx
2 years 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 2 years 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!

Doe mee aan de discussie - voeg hieronder een opmerking toe

Log in / Schrij u in om nieuwe opmerkingen te plaatsen