ScrapeNinja

फ्रीमियम
द्वारा Anthony | अपडेट किया गया 4 days ago | Data
लोकप्रियता

9.9 / 10

लेटेंसी

2,898ms

सेवा का स्तर

98%

Health Check

N/A

सभी चर्चाओं पर वापस जाएं

Unescaped body

Rapid account: Akavexx
akavexx
a year 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 a year 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!

चर्चा में शामिल हों - नीचे टिप्पणी जोड़ें:

नई टिप्पणियाँ पोस्ट करने के लिए लॉग इन / साइनअप करें