Set user agent.
Override the default RCurl user agent of NULL
user_agent(agent)
agent |
string giving user agent |
Other config:
add_headers(),
authenticate(),
config(),
set_cookies(),
timeout(),
use_proxy(),
verbose()
GET("http://httpbin.org/user-agent")
GET("http://httpbin.org/user-agent", user_agent("httr"))Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.