You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 28, 2026. It is now read-only.
Copy file name to clipboardExpand all lines: README-en.md
+70-20Lines changed: 70 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,9 +2,9 @@
2
2
3
3
[简体中文](./README.md) | English
4
4
5
-
> Welcome to use, feel free to provide feedback, and contribute to this project via PR. Please do not use it for any purpose that violates the community rules.
5
+
> Welcome to use, provide feedback, and contribute to this project via PR. Please do not use it for purposes that violate community guidelines.
6
6
7
-
`bilitool` is a Python toolkit for logging in, downloading videos, uploading videos to Bilibili, and more. It can be operated via command-line CLI or used as a library in other projects.
7
+
`bilitool` is a Python toolkit that provides functionalities such as persistent login, video download, and video upload to Bilibili. It can be operated via command-line interface (CLI) or used as a library in other projects.
8
8
9
9
## Features
10
10
@@ -13,19 +13,26 @@
13
13
-`logout` Log out
14
14
-`check` Check login status
15
15
-`upload` Upload videos
16
-
- Supports various custom parameters for uploading
17
-
- Supports YAML configuration and parsing for video uploads
16
+
- Supports various custom parameters for upload
17
+
- Supports video upload via YAML configuration and parsing
18
+
- Displays upload progress bar
18
19
-`download` Download videos
20
+
- Supports downloading by `bvid` and `avid`
19
21
- Supports downloading danmaku (comments)
20
22
- Supports downloading in various qualities
21
23
- Supports downloading multi-part videos
24
+
- Displays download progress bar
22
25
-`ip` Display request IP address
23
-
- Supports querying specified IP addresses
24
-
-`list` Query the status of past video submissions
26
+
- Supports querying specified IP address
27
+
-`list` Query the status of past uploaded videos of the account
28
+
- Supports querying videos with various statuses
25
29
- If a video fails review, the reason will be displayed
26
-
- Display published video information (planned support)
27
-
- Display upload progress (in development)
28
-
- Append videos to existing videos (in development)
30
+
-`convert` Convert video IDs
31
+
- Supports conversion between `bvid` and `avid`
32
+
-`show` Display detailed video information
33
+
- Supports viewing basic video information and interaction status data
34
+
- Add more detailed log logs (planned support)
35
+
- Append videos to existing videos (planned support)
> Note: The upload function requires login first. After logging in, the login status will be remembered, so you don't need to log in again for the next upload.
112
+
> Note: The upload function requires login first. After logging in, the login status will be remembered, and you won't need to log in again for the next upload.
list_parser.add_argument('--size', type=int, default=20, help='(default is 20) the size of video list')
66
66
list_parser.add_argument('--status', default='pubed,not_pubed,is_pubing', help='(default is all) the status of video list: pubed, not_pubed, is_pubing')
67
67
68
-
# Convert subcommand
69
-
convert_parser=subparsers.add_parser('convert', help='Convert between avid and bvid')
70
-
convert_parser.add_argument('vid', help='The avid or bvid of the video')
71
-
72
68
# Show subcommand
73
69
show_parser=subparsers.add_parser('show', help='Show the video detailed info')
74
70
show_parser.add_argument('vid', help='The avid or bvid of the video')
75
71
72
+
# Convert subcommand
73
+
convert_parser=subparsers.add_parser('convert', help='Convert between avid and bvid')
74
+
convert_parser.add_argument('vid', help='The avid or bvid of the video')
75
+
76
76
# IP subcommand
77
77
ip_parser=subparsers.add_parser('ip', help='Get the ip info')
78
78
ip_parser.add_argument('--ip', default='', help='(default is your request ip) The ip address')
0 commit comments