ScrapeNinja

부분 유료
분류별 Anthony | 업데이트됨 a month ago | Data
인기

9.9 / 10

지연 시간

3,780ms

서비스 수준

98%

Health Check

N/A

모든 토론으로 돌아가기

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!

아래에 의견을 추가하고 토론에 참여하세요.

새 댓글을 게시하려면 로그인 / 가입