Answer the question
In order to leave comments, you need to log in
How to change request encoding in Node.js?
I am writing a parser for one torrent tracker.
`http://trackername.org/forum/portal.php?word=${whatSearch}`
.const whatSearch = iconv.encode(searchWord, 'win1251')
and send in a POST request both as a buffer and as a string. This gave a result, but the return is not at all what is needed (I am writing "Game of Thrones", but finds the book "Humpbacked Horse"). --data-urlencode
. Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question