Is it worth it to dig in this direction? On the site protection-screening, which does not allow to frequently connect to servers, access is temporarily blocked. I tried to slip different user agents, but apparently still banyat by IP. What can be done?
- LOL what. To change the IP address, use a proxy - Alex78191
- I could not find anything. - Flippy
- Proxy I found something related to the connection and indication of the ip server. It's not that (?) - Flippy
- stackoverflow.com/questions/4599933/… - Alex78191
- ru.stackoverflow.com/questions/657601/… - Alex78191
|
1 answer
To request from a different IP address, you can use a proxy server.
Document doc = Jsoup .connect(request) .proxy("<имя хоста прокси>", <номер порта прокси>) .userAgent("Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)") .timeout(5000).get(); - Ie can I specify random ip? :) - Flippy
- @Flippy In general, not every ip hosts is available on the network and a proxy server is not running on every host. - Alex78191
- @Flippy proxy list to google. - Alex78191
|