sixteen

Results 3 comments of sixteen

> When the disk is full, the program, automatic calculates the space? Move to another location? I have this option activated but it is not doing it, it remains waiting...

原因: 请求豆瓣获取数据失败了,返回了None(看各自的设置,作者的代码是'None',就采用!=‘None’) 解决办法: ``` html = request_douban(url) if html is not None: soup = BeautifulSoup(html, 'lxml') save_to_excel(soup) else: print('request_douban return None') ```

> 原因: > 请求豆瓣获取数据失败了,返回了None(看各自的设置,作者的代码是'None',就采用!=‘None’) > 解决办法: > > ``` > html = request_douban(url) > if html is not None: > soup = BeautifulSoup(html, 'lxml') > save_to_excel(soup) > else: > print('request_douban...