爬虫初学者,python运行过程报错,但不知道怎么解决{AttributeError: 'NoneType' object has no attribute 'group'}
re.search(x, y) 这一步返回结果是None,你可以自己debug下
result = re.search(...) if result is None: return None