[Surfraw-devel] How to use surfraw with curl

David Niklas doark at mail.com
Tue Aug 9 15:21:29 UTC 2016


Hello,
I entered this (as a test):
% sr -browser="curl -L " -s duckduckgo trump

And got this:
<html>
<head><title>301 Moved Permanently</title></head>
<body bgcolor="white">
<center><h1>301 Moved Permanently</h1></center>
<hr><center>nginx</center>
</body>
</html>

Now, I expected to get results as an html page
to stdout.
What do I do?
I tried increasing curl verbosity curl -vLD -
to no avail.

Thanks,
David



More information about the Surfraw-devel mailing list