scrapy xpath去除空格

content = response.xpath("normalize-space(//img/@src)")

原文地址:https://www.cnblogs.com/brady-wang/p/11829381.html