- 链接地址:https://blog.csdn.net/jlkdfjgjdfkg/article/details/107502211
- 链接标题:B站视频信息爬取+CSV存储_爬取b站视频的名称、地址、简介等并保存为csv文件-CSDN博客
- 所属网站:blog.csdn.net
- 被收藏次数:2691
文章浏览阅读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文件
版权声明:本文发布于特牛生活网 内容均来源于互联网 如有侵权联系删除