发生异常时记录下来
urls = [ #...]errors = []for url in urls: try: # 请求URL 保存内容 except: # 发生异常时, 记录 跳出 errors.append(url) continue