I am using the Zyte Smart Proxy Manager via a nodejs application and most of the time, it works great; however, every now and then it returns a page full of non-printable ascii characters. Is there a reason it does this? Am I doing something wrong? The options I am passing into the request are as follows:
url: <page_url>, ca: <path_to_zyte_proxy_ca.crt>,
requestCert: true,
rejectUnauthorized: true,
headers: {
'Content-Type': 'text/html'
},
method: 'GET'
Like I said, the majority of the time it works fine but every now and then I get something similar to the attached output.
I am using the Zyte Smart Proxy Manager via a nodejs application and most of the time, it works great; however, every now and then it returns a page full of non-printable ascii characters. Is there a reason it does this? Am I doing something wrong? The options I am passing into the request are as follows:
url: <page_url>,
ca: <path_to_zyte_proxy_ca.crt>,
requestCert: true,
rejectUnauthorized: true,
headers: {
'Content-Type': 'text/html'
},
method: 'GET'
Like I said, the majority of the time it works fine but every now and then I get something similar to the attached output.
Attachments (1)
D2A1FEAF-577....html
132 KB
0 Votes
0 Comments
Login to post a comment