get url scrapy code example Example: scrapy get current url def parse(self, response): current_url = response.request.url