Re: [Rd] use scan("http://www.example.com/file.htm") with an hidden-fake IP adress

From: Simon Urbanek <simon.urbanek_at_r-project.org>
Date: Mon, 28 Mar 2011 15:13:31 -0400

On Mar 28, 2011, at 2:24 PM, Arthur Charpentier wrote:

> Dear users,
> I am currently using scan(,what="character") to read - automacally - some
> html pages,
> I was wondering if there was an option to "hide" my IP-adress, or to use a
> "fake" one ?
> I would like to chek if the website is using my IP-adress to change the
> content of the page (it is the price of airline tickets actually)
> I want to see if it is possible to do a request with some fake IP, to
> compare the prices,
> thanks for your help
>

You can't really change the IP address since that is where the server sends the result. That's why your request packet has your IP so the response can be delivered back to you. Obviously, you won't get anything if the IP doesn't match. The only way to make requests to a server from a different IP is to use another machine that has a different IP (e.g., a proxy server).

Cheers,
Simon



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Mon 28 Mar 2011 - 19:16:23 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 29 Mar 2011 - 11:30:37 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive