Bangumi scraper for bilibili written in OCaml | 扫荡小破站的番剧 [WIP]
Under development.
Currently tested on Gentoo Linux and MacOS, should run on Windows.
- OCaml development environment:
- On Gentoo Linux run
emerge --ask dev-lang/ocaml
; - On MacOS run
sudo pkgin install ocaml
.
- On Gentoo Linux run
- C complier (gcc/clang).
- C library
libcurl
:- On Gentoo Linux run
emerge --ask net-misc/curl
; - On MacOS you are recommended to run
xcode-select --install
to install Xcode command line tools which includedlibcurl
.
- On Gentoo Linux run
Fetch the repository using:
git clone https://github.com/RadioNoiseE/bd
then kindly cd
:
cd bd
If necessary, specify the C complier in makefile
line 5:
cc := clang
Finally generate the binary:
make
and cleanup the current directory (optional):
make clean_aux
The generated standalone binary bd
is what you want. All the libraries are statically linked.