scrapy xpath去除空格

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

posted @ 2019-11-10 11:39  brady-wang  阅读(1059)  评论(0编辑  收藏  举报