Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

支持在配置内设定直播播放请求头,修改片尾显示和跳过逻辑 #124

Open
wants to merge 53 commits into
base: main
Choose a base branch
from

Conversation

670637080
Copy link

@670637080 670637080 commented Jun 3, 2024

配置内可新增数组、不加也不影响
示例
"livePlayHeaders": [
{
"flag": ["xxx.xxx","sss.sss"], //要设定请求头的播放源字符串,可以是多个字符串,不需要完全匹配,包含就可以
"header": {
"User-Agent": "Mozilla/5.0" //键值自己写
}
},
{
"flag": ["hahahaha"], //要设定请求头的播放源字符串,可以是多个字符串,不需要完全匹配,包含就可以
"header": {
"Referer": "https://www.bilibili.com/", //键值自己写
"User-Agent": "okhttp/4.10.0" //键值自己写
}
}
]

应该没人会用到assets那部分吧?那部分就不处理了

@670637080 670637080 closed this Jun 5, 2024
@670637080 670637080 changed the title 支持在配置内设定直播播放请求头 支持在配置内设定直播播放请求头,修改片尾显示和跳过逻辑 Jun 5, 2024
@670637080 670637080 reopened this Jun 5, 2024
@bigmouse0001
Copy link

bigmouse0001 commented Nov 22, 2024

配置内可新增数组、不加也不影响 示例 "livePlayHeaders": [ { "flag": ["xxx.xxx","sss.sss"], //要设定请求头的播放源字符串,可以是多个字符串,不需要完全匹配,包含就可以 "header": { "User-Agent": "Mozilla/5.0" //键值自己写 } }, { "flag": ["hahahaha"], //要设定请求头的播放源字符串,可以是多个字符串,不需要完全匹配,包含就可以 "header": { "Referer": "https://www.bilibili.com/", //键值自己写 "User-Agent": "okhttp/4.10.0" //键值自己写 } } ]

应该没人会用到assets那部分吧?那部分就不处理了

需求:epg节目表回看结束自动开始下一集。

大佬,回看功能能不能适配自动下一集。上一集回看结束,自动开始播放下一集回看。。

目前自制了一些动漫轮播,想利用回看功能实现点播对应集,但是发现单个回看视频结束后,软件没有自动播放下一集回看(播放参数带playseek),而是跳转回了直播流(播放参数不带playseek)。这样就无法很好实现通过回看来进行轮播动漫的功能
Screenshot_20241122_125619

目前是把[昨天]全部弄成回看了,点击回看重定向到对应的视频文件直链。但是第1集回看结束后,没有自动请求第2集回看,而是请求到[今天]的直播流。所以无法很好实现一个闭环。。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants