Exactly the same thing happening here (Leicestershire UK) It's not your TV, it's a problem with the Smart Hub Server, they will fix it, just have to wait. I'm trying to get the page for the search results of youtube.Here I have input a video name and Iam trying to get the html page of search results. I used the http module for sending and recieving.
I'm trying to get the page for the search results of youtube.Here I have input a video name and Iam trying to get the html page of search results.
I used the http module for sending and recieving data.
This is the result page i have recieved
Iam not able to understand the reason for the malinformed url
Anoop sajuAnoop saju
1 Answer
Check your content-length line this is causing malformed url error
If you remove content-length it works but you may end up getting 301 as url is moved. So you may required to use follow-redirects module
or you can use 'request' module
NijaNija
Not the answer you're looking for? Browse other questions tagged javascriptnode.jshttpyoutube or ask your own question.