- 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.