Is there a way to make DuckDuckGo send the page source as multiple lines?

Pecon7 Pecon7
Created: 5 years and 2 months ago • Updated: 5 years and 2 months ago
More for personal use/code hobbying really, but I'm making a mod for a game called Blockland that can query DuckDuckGo for quick answer results. But the game engine has a limitation that causes it to crash when sent strings that are extremely long (10000+ characters), and this has come up because DuckDuckGo appears to send the HTML source all in a single line. Is there a debug parameter or something I can use where the server will send the source in a more 'normal' format?

This forum has been archived

Thank you all for the many comments, questions and suggestions. Particular thanks go to user x.15a2 for constantly monitoring, replying and helping so many users here. To continue these discussions, please head over to the DuckDuckGo subreddit.

You might want to look at the DuckDuckGo API . By using it, you can get DuckDuckGo instant answers in JSON or XML format.

For example,
posted by jaryd Staff5 years and 2 months ago Link
Thanks! This helps a lot.
posted by Pecon7 5 years and 2 months ago Link