Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
renbangwen123456789
dr_py
提交
46091025
dr_py
项目概览
renbangwen123456789
/
dr_py
与 Fork 源项目一致
Fork自
晚风拂柳颜 / dr_py
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
dr_py
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
46091025
编写于
9月 02, 2022
作者:
H
hjdhnx
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
增加自定义外网直播地址
上级
ada41745
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
4 addition
and
2 deletion
+4
-2
app.py
app.py
+1
-1
config.py
config.py
+1
-0
readme.md
readme.md
+2
-1
未找到文件。
app.py
浏览文件 @
46091025
...
...
@@ -417,7 +417,7 @@ def random_pics():
def
get_live_url
(
new_conf
,
mode
):
host
=
getHost
(
mode
)
live_url
=
host
+
'/lives'
if
new_conf
.
get
(
'LIVE_MODE'
,
1
)
==
0
else
'https://gitcode.net/qq_26898231/TVBox/-/raw/main/live/0830zb.txt'
1
)
==
0
else
new_conf
.
get
(
'LIVE_URL'
,
getHost
(
2
)
+
'/lives'
)
live_url
=
base64Encode
(
live_url
)
return
live_url
...
...
config.py
浏览文件 @
46091025
...
...
@@ -33,5 +33,6 @@ UNAME = 'admin' # 管理员账号
PWD
=
'drpy'
# 管理员密码
MAX_CONTENT_LENGTH
=
1
*
1024
*
1024
/
100
# 100 kB
LIVE_MODE
=
1
# 0 本地 1外网
LIVE_URL
=
'https://gitcode.net/qq_26898231/TVBox/-/raw/main/live/0830zb.txt'
# 外网直播地址
CATE_EXCLUDE
=
'首页|留言|APP|下载|资讯|新闻|动态'
# 动态分类过滤
# {% if config.WALL_PAPER %}"wallpaper":"{{ config.WALL_PAPER }}",{% endif %}
\ No newline at end of file
readme.md
浏览文件 @
46091025
...
...
@@ -4,7 +4,7 @@
<a
href=
"https://alist.nn.ci"
><img
height=
"100px"
alt=
"logo"
src=
"https://gitcode.net/qq_32394351/dr_py/-/raw/1fe0e082b1ceacc4469d7f175a605cc2edf0bab0/static/img/icon.png"
/></a>
<p><em>
🗂️A webServer convert web and x5 movie sites to cms api data
</em></p>
<a
href=
"https://gitcode.net/qq_32394351/dr_py/-/releases"
>
<img
src=
"https://img.shields.io/badge/version-3.0.
5
-blue"
alt=
"latest version"
/>
<img
src=
"https://img.shields.io/badge/version-3.0.
6
-blue"
alt=
"latest version"
/>
</a>
<a
href=
"https://gitcode.net/qq_32394351/dr_py/-/issues"
>
<img
src=
"https://img.shields.io/badge/discussions-2-orange"
alt=
"discussions"
/>
...
...
@@ -34,6 +34,7 @@
-
[X] 1.优化了免嗅探的注入变量,封装了fetch_params变量
-
[X] 2.一定程度兼容python3高版本,支持termux直装(高于3.9版本首页推荐无法获取)
-
[X] 3.准备弃坑,基本完结撒花
-
[X] 4.增加自定义配置直播外网地址
###### 2022/09/01
-
[X] 1.增加动态分类排除配置
-
[X] 2.优化pdfh,pdfa,pd等函数,支持多个&&写法,自动取第一个
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录