- Crawl Bilibili Public Favlist
- Crawl all the public Favlist of one user or the specific one (Public Only)
- Auto-sort downloads by uploder name automatically
- Auto-build csv files for each Favlist
- Python3
- annie
- FFmpeg & Bash (only for additional Shell script)
- macOS:
- Native built-in, no need for downloading
- Or use
brew install python3to install the non-native Python3
- Windows:
- Download Python3 manually from https://www.python.org/downloads/windows/
- Linux:
- Use the package manager
- e.g.
- Debian:
apt install python3 - SUSE:
zypper install python3
- Debian:
- e.g.
- Use the package manager
- macOS:
- Run the command
brew install anniein Teriminal
- Run the command
- Windows:
- Run the command
scoop install annie
- Run the command
- Linux:
- Refer to https://github.com/iawia002/annie
-
Open up any terminal app (e.g. macOS - Teriminal.app, Windows - CMD and etc.) and input command
python3 [SCRIPT_PATH] -
When
Please Choose Mode:displayed- Input
1: Dump Single Favlist (fidrequired)- It will dump all the info and videos of the chosen Favlist.
- Input
2: Dump All Favlists (uid/midrequired)- It will dump the info and videos in every Favlist, which is set Public by the user.
- Input
3: Dump Single Favlist (Info Only) (fidrequired)- It will dump the info of of the chosen Favlist.
- Input
4: Dump All Favlists (Info Only) (uid/midrequired)- It will dump the info in every Favlist, which is set Public by the user.
- Input
-
When
Cookies Path (0 for not required):displayed- Please input the path to load the Cookies (for hi-definition version videos' requirement).
-
When
Output Path:displayed- Please input the path where you want to save the vidoes.
- path without any special character is recommended
- e.g.
~/[$YOUR_DIRNAME]
- If the
pathdoesn't exist, it will be made up automatically, or it will just use the exist one. - If you choose a
pathwhere there has already been some dumped files by this script, the videos won't be re-dumped as long as they shared the same filename. - re-dump check mostly works (The rest of the checking task can be perfectly handled by
annieitself)
- Please input the path where you want to save the vidoes.
-
When
User ID (aka uid/mid):orMedialist ID (aka fid):displayed- Please input the uid/mid or fid (depend on the mode you chosen)
- Any Mode option will build a csv file automatically which inludes the elements below
Media_ID: The ID of the video in Bilibili, e.g. av3046665Media_Title: The video's title in BilibiliUpper_ID: The ID of the video uploader in Bilibili, e.g. 2811374Upper_Name: The name of the video uploader in BilibiliMedia_Amount: The sum of the videos in the Favlist (OneMedia_IDmay contain multiple videos)Valid_Amount: The sum of the videos, which is not invalid, in the Favlist
Not included in the Python script
-
Shell script
flv2mp4.shcan be used for re-encapsulating videos in the current directory and all the sub-directories. (Bash and FFmpeg required) -
Usage:
cdto the target directory in Terminalbash [$shell_script_path]- When
Keep original flv files? (Y/N)displayed- Input
Yoryif you want to keep the origianl flv files
- Input


