Skip to content

Latest commit

 

History

History
19 lines (18 loc) · 586 Bytes

README.md

File metadata and controls

19 lines (18 loc) · 586 Bytes

douyu_danmu

Get barrages from 'https://www.douyu.com/', in addition provide user barrages query and real-time barrages display web service.

Usage

Windows/Linux

Run python script 'danmu_server.py' with roomId in douyu to start the barrage server.

python ./danmu_server.py roomId

Change 'cwd' to www dir and run python script 'http_server.py' to start the web server.

cd www
python ./http_server.py

Linux

run sh script 'monitor_restart' to monitor and run danmu_server. You should change the roomId inside this script.

sh ./monitor_restart.sh