Relative URL to absolute URL Scrapy
问题 I need help to convert relative URL to absolute URL in Scrapy spider. I need to convert links on my start pages to absolute URL to get the images of the scrawled items, which are on the start pages. I unsuccessfully tried different ways to achieve this and I'm stuck. Any suggestion? class ExampleSpider(scrapy.Spider): name = "example" allowed_domains = ["example.com"] start_urls = [ "http://www.example.com/billboard", "http://www.example.com/billboard?page=1" ] def parse(self, response):