Closed Random-Code-Guy closed 1 year ago
BEP20 Binance Smart Chain Network BSC
0xb78c4cf63274bb22f83481986157d234105ac17e
BTC Bitcoin Network
1Pnf45MgGgY32X4KDNJbutnpx96E4FxqVi
Lightning Network
juancarlospaco@bitrefill.me
Proxy does not work with the download function, it can work with the fetch function directly.
You have to read about how HTTP works, because you have to make the request to the proxy address instead of the web server of the web page, then on the proxy header you put the address of the web server of the page, so proxy fetch it for you and serve it and cache it, it works basically but you have to know HTTP, I do not have time to make examples sadly.
You have to read about how HTTP works, because you have to make the request to the proxy address instead of the web server of the web page, then on the proxy header you put the address of the web server of the page, so proxy fetch it for you and serve it and cache it, it works basically but you have to know HTTP, I do not have time to make examples sadly.
i managed todo it just using
requests.get(url, proxyurl=proxy)[0]
works ok so far and allows me to use the same code for downloads as well as normal requests simply by sending an useproxy bool option
Hi i have been using this with no issues and its been working perfect how ever i now need to use a http proxy when download files using this libery
i see a proxy is supported with the standard get but can it also be used with the download function as i dont see it in the documents ?