ScrapeNinja

FREEMIUM
От Anthony | Обновлено hace 15 días | Data
Популярность

9.9 / 10

Задержка

3,508ms

Уровень обслуживания

97%

Health Check

N/A

Назад ко всем обсуждениям

Unescaped body

Rapid account: Akavexx
akavexx
hace 2 años

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 hace 2 años

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!

Присоединяйтесь к обсуждению – добавьте комментарий ниже:

Войдите / Зарегистрируйтесь, чтобы публиковать новые комментарии