当前位置:网站首页>Golang BiliBili live broadcast bullet screen
Golang BiliBili live broadcast bullet screen
2022-06-30 03:03:00 【Orange#】
GitHub - k-si/bilibili_live: Blibli bli live broadcast bullet screen Ji
bilibili Here comes the live barrage !
Although there are many mature live broadcast girls in the market app, But I still want to rub one with my own hands to get a little sense of achievement ( Talking about people means being idle at home ).
Don't talk much , Let's see what I rubbed " Bullet curtain Ji " What's fun .
function
- Timed barrage ; Usually used to call the anchor call
- Bullet screen chat ; The program calls the chat robot api, Eliminate loneliness for VIP
- Welcome to ; Welcome to the live broadcast room, captain / buddy
- Check to start broadcasting : Automatically detect the function of running after broadcasting , Turn off the function after downloading
( At present, the basic frame has been set up , Adding new features is just a matter of manpower ... Yes , I am lazy , Wow, cool, cool )
ps: Interested students can directly develop on this basis , Added new features ( It is to judge the field value of the response package , Then adjust the interface balabala...), Specific to see bullet_girl/handle_bullet.go Medium handle() function
Start
Modify the configuration file -> Start the program -> Small broken mobile station scanning code to log in -> The program runs
1、 First of all to see config.toml, According to the notes , Modify it to suit your own parameters
2、 Start the program :
go run main.go -c="./config.toml"
perhaps , Manual build Run after
go build main.go ./main -c="config.toml"
3、 According to the qr_code_path, Generate QR code accordingly , Sweep the login code
4、 The program starts running , Let's get started !
ps: see main.go Program , You can see the start of each goroutine La , The program structure is still very clear ,bullet_girl The files in the directory are the realization of the main functions .
show
It's not on , Screenshots of yourself and yourself playing ...
边栏推荐
- *Write a program to initialize a string object with a vector < char> container*/
- O & M (21) make winpe startup USB flash disk
- Idea remote debugging remote JVM debug
- 备忘一下es6的export/import和类继承的用法
- Heavy attack -- ue5's open source digital twin solution
- Unity3d ugui force refresh of layout components
- 约瑟夫环 数学解法
- Cross domain, CORS, jsonp
- c#控制台格式化代码
- 外汇交易平台哪个好?有监管的资金就安全吗?
猜你喜欢
随机推荐
How to modify and add fields when MySQL table data is large
【直播笔记0629】 并发编程二:锁
[untitled]
CMake教程系列-01-最小配置示例
问题记录:fel_lib.c:26:10: fatal error: libusb.h: 没有那个文件或目录
Cmake tutorial series -05- options and variables
MySQL extracts strings from table fields
Wechat applet page Jump and parameter transfer
IDEA 远程调试 Remote JVM Debug
怎么利用Redis实现点赞功能
Distributed file storage system fastdfs hands on how to do it
[live broadcast notes 0629] Concurrent Programming II: lock
Cmake tutorial series-01-minimum configuration example
Unity3d ugui force refresh of layout components
(图论) 连通分量(模板) + 强连通分量(模板)
LeetCode 3. Longest substring without duplicate characters
Utf8 error in Oracle migration of Jincang Kingbase database
CMake教程系列-03-依赖管理
Cmake tutorial series -02- generating binaries using cmake code
福利抽奖 | 开源企业级监控Zabbix6.0都有哪些亮点