特牛生活网

B站视频信息爬取+CSV存储_爬取b站视频的名称、地址、简介等并保存为csv文件-CSDN博客

网友收藏
文章浏览阅读533次。一、不携带视频名称#!/usr/bin/env python# -*- coding: utf-8 -*-import threadingimport timefrom concurrent import futuresimport csvimport requeststotal = 1result = []lock = threading.Lock()def run(url): # 启动爬虫 global total headers = { _爬取b站视频的名称、地址、简介等并保存为csv文件