Open chunfytseng opened 3 years ago
There isn't direct support for JSON. Sorry.
On Fri, Sep 18, 2020 at 9:28 AM chunfytseng notifications@github.com wrote:
xray(“{a:1,b2}”, '*')(function(err, title) { console.log(title) // Google })
Some sites return JSON instead of HTML.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/matthewmueller/x-ray/issues/369, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAT6ISWDLAOMEGHGWJ5NNDSGNVBPANCNFSM4RSCJG7A .
xray(“{a:1,b:2}”, '*')(function(err, res) { console.log(res) })
Some sites return JSON instead of HTML.