item[‘play_hour’] = re.search(r’\d+(.\d+)?’, response.meta[‘play_time’]).group()
re匹配浮点数
最新推荐文章于 2024-09-17 00:49:35 发布
item[‘play_hour’] = re.search(r’\d+(.\d+)?’, response.meta[‘play_time’]).group()