Multiple issues i ran into
Slluxx opened this issue · comments
-
everything besides the actual site is not requested with the port so does not display
a fix would be adding the port to theline which alters the request urls
return ` ${p1}="${req.protocol}://${req.hostname}:${port}?url=${newUrl}"`;
-
encoding does not seem right
i used "iso88592" anddata = iso88592.decode(data.toString('binary'));
to decode the content but that does not seem to work always -
google and many other sites dont use their full url to redirect but only use
/?searchquery=something
which does not get processed by express and axios.
It would be awesome if you could spend a few minutes and update this repository!