Description Usage Arguments Details
Make http request with random proxy and useragent, try until got the response in specific max iter times.
1 2 3 4 5 6 7 8 9 10 |
proxy list, with ip
and port
elements at least, the
object initialization process will check the list, times
element will
be append if it does not exist, and the value is 1
multiple user agent character vector
the max times to try send the http request, it should be not bigger than the length of proxy list
if record the history of connecting to proxy, the result will be used in select better proxy
if select proxy based on the probability, which is the successful connecting times for each proxy
if output the error message when try to connect proxy
if delete old and worse proxy when add new ones
arguments send to function of httr
package
Rogue$new()
creates a new Rogue object.
rogue$proxy_add()
add new proxy for requesting.
rogue$proxy_show()
show the proxy connecting history in tibble
format.
rogue$get()
send get
request to server.
rogue$post()
send post
request to server.
rogue$put()
send put
request to server.
rogue$delete()
send delete
request to server.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.