I'm assuming you want to know the URL from where a link (request) was extracted from.
You can override the method _requests_to_follow in order to pass around the source page of the request:
def _requests_to_follow(self, response):
for req in super(ExampleSpider, self)._requests_to_follow(response):
req.meta['parent_page'] = response.url
yield req