使用的是
item['description'] = app.select('./li//text()').extract_unquoted()
得到
{"description": ["\n I visited the local ", "robotic", " club and recorded the preparation for the up-coming competition. I was invited to make a speech there\u00a0", "...", "\n "]
请教应该怎么写,才能得到
{"description": ["I visited the local robotic club and recorded the preparation for the up-coming competition. I was invited to make a speech there...“]
这样的形式,就是只需要保留文本的部分?
item['description'] = app.select('./li//text()').extract_unquoted()
得到
{"description": ["\n I visited the local ", "robotic", " club and recorded the preparation for the up-coming competition. I was invited to make a speech there\u00a0", "...", "\n "]
请教应该怎么写,才能得到
{"description": ["I visited the local robotic club and recorded the preparation for the up-coming competition. I was invited to make a speech there...“]
这样的形式,就是只需要保留文本的部分?