# bilibili **Repository Path**: tom2220/bilibili ## Basic Information - **Project Name**: bilibili - **Description**: B站小工具--用于保存指定UP主某段时期的视频链接为书签,可导入浏览器。声明,切勿使用该项目从事非法商业活动,仅用于科研学习! - **Primary Language**: Python - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2023-06-23 - **Last Updated**: 2025-01-08 ## Categories & Tags **Categories**: Uncategorized **Tags**: Spider, Python, Selenium ## README # bilibili视频链接转书签 ![Static Badge](https://img.shields.io/badge/release-v1.0.1-blue) ![Static Badge](https://img.shields.io/badge/python-3.8-blue) ![Static Badge](https://img.shields.io/badge/selenium-4.10-blue) ![Static Badge](https://img.shields.io/github/license/tensorflow/tensorflow.svg) ## 介绍 此项目是一个基于Python语言开发的爬虫项目,利用Selenium开源工具通过B站的权限认证,用于保存指定UP主某段时期的视频链接为书签,书签可导入浏览器。注意:程序加载本地浏览器的用户配置文件,因此需要先登录。 ## 使用说明 安装python3.8,其他版本暂无测试。 > git clone https://gitee.com/tom2220/bilibili.git > > pip install requests > > pip install selenium 将[chromedriver.exe](https://chromedriver.chromium.org/downloads)、[msedgedriver.exe](https://developer.microsoft.com/en-us/microsoft-edge/tools/webdriver/)放在系统能找到的位置,如默认安装位置。 > C:\Users\xxx\AppData\Local\Programs\Python\Python38 创建一个up.txt文件,一行一条数据,名称仅为方便查看,名称和链接需要空格隔开。 > UP主名称 https://space.bilibili.com/XXX/video 执行程序,按提示填入日期即可。 ## 参与贡献 1. Fork 本仓库 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request ## 期望 | Futures > 欢迎提出更好的意见,帮助完善 ## 版权 | License [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0)