ScrapeNinja

FREEMIUM
Por Anthony | Atualizado 16 दिन पहले | Data
Popularidade

9.9 / 10

Latência

3,548ms

Nível de serviço

97%

Health Check

N/A

Voltar para todas as discussões

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!

Junte-se à discussão - adicione o comentário abaixo:

Efetue login / inscreva-se para postar novos comentários