Currently changing user_agent by passing different strings to the html_session()
method.
Is there also a way to change your IP address on a timer when scraping a website?
Currently changing user_agent by passing different strings to the html_session()
method.
Is there also a way to change your IP address on a timer when scraping a website?
Copyright © 2021 Jogjafile Inc.
You can use a proxy (which changes your ip) via
use_proxy
as follows:For more details see:
?httr::use_proxy
To check if it is working you can do the following:
The first call will return your IP. The second call should return
138.201.63.123
as ip.This Proxy was taken from http://proxylist.hidemyass.com/ - no garantees for anything...