I am creating a extractor/crawler its almost done, My code is loaded at server with IP xx.xx.xx.xx when my crawler goes for crawling records its using server IP, which can lead to block of my IP I want when user start crawling from their browser, it should take their IP address yy.yy.yy.yy it can be done by CURL or other method ? Please advise
No, it is not possible with server-side crawler which is your case. Your best option is to create a list of working proxy servers on your host and set them in random order when crawling.
Just google for "proxy list" - there are plenty of them. You will also need to write a method that check if the proxy is working or not. For e.g. put a file test.txt on your server and try to fetch it through the proxy