- Comments crawling
- Danmakus crawling
- Video downloading
Your stars are highly welcomed.
pip install -r requirements.txt
.- Download
dm_pb2.py
andbili-crawer.py
.
bili-crawer.py [-h] [-o OUTPUT] [-v] [-c] [-d] [-O] [-p PAGELIST] [-l] target
positional arguments:
target ๐ฏ A string with target BV id in it, for example "prefixbV1GJ411x7h7suffix".
optional arguments:
-h, --help show this help message and exit
-o OUTPUT, --output OUTPUT
๐ Output directory.
-v, --video ๐ฅ If included, download video(s).
-c, --comment ๐ฌ If included, download comments.
-d, --danmaku โ๏ธ If included, download danmakus.
-O, --overwrite โ If included, force overwrite files/folders.
-p PAGELIST, --pagelist PAGELIST
๐ Specify which parts in the pagelist you'd like to download.
-l, --playlist ๐ If included, download the whole playlist.
Due to the use of nerd fonts and emojis, asciinema replay might not be so satisfying. You might as well download the record file bili.cast
and replay locally.