soup = bs(text, 'lxml')
job_list = soup.find(name='div', class_='job-list').find_all(name='li')
报错 AttributeError: 'NoneType' object has no attribute 'find_all'
网上下载了一份代码 运行这儿报错
应该怎么改正?
soup = bs(text, 'lxml')
job_list = soup.find(name='div', class_='job-list').find_all(name='li')
报错 AttributeError: 'NoneType' object has no attribute 'find_all'
网上下载了一份代码 运行这儿报错
应该怎么改正?