scrapy xpath去除空格

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

原文地址:https://www.cnblogs.com/php-linux/p/11829381.html