Nov 15, 2008, 3:16 PM
Post #1 of 1
modify links in html document for proxy
This is my first post and I need some help here.
I am working on my thesis for which I have to create a proxy( I found some proxy codes online but... its too hard to modify accordingly).
So what really I am looking for is
I am creating my own proxy.
->Enter any URL
->then downloading page source using lynx in a file
->modify all href, images and other links to redirect through my proxy.
example-- if it is www.yahoo.com then i download the source code for yahoo in a file and modify the hrefs as
which will display same as www.yahoo.com.
Once I click any other link on that page then the url will be like
For websites href is written in different ways like
in so many different ways..
so how can I make sure that I can read every href and modify it???