PG/README.md
2025-01-03 12:03:22 +08:00

172 lines
7.9 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# PG本地包Sync From Telegram
## 同步更新在线接口
选择主页可以查看当前PG包版本
在线接口已经默认集成了tgsearch的在线服务器无需任何tg配置
使用自己的本地包可以填写tgsearch服务器地址
http://tg.fish2018.us.kg
http://tg.uu8.pro (@DH 分享)
在线获取TG session扫码登录支持两步验证:
https://tg.uu8.pro/ (@DH 分享)
```
http://www.fish2018.us.kg/p/jsm.json
```
## PG包下载地址
```bash
https://slink.ltd/https://raw.githubusercontent.com/fish2018/PG/main/pg.20250103-1142.zip
https://raw.yzuu.cf/fish2018/PG/main/pg.20250103-1142.zip
https://raw.nuaa.cf/fish2018/PG/main/pg.20250103-1142.zip
https://raw.kkgithub.com/fish2018/PG/main/pg.20250103-1142.zip
https://cors.zme.ink/https://raw.githubusercontent.com/fish2018/PG/main/pg.20250103-1142.zip
https://git.886.be/https://raw.githubusercontent.com/fish2018/PG/main/pg.20250103-1142.zip
https://gitdl.cn/https://raw.githubusercontent.com/fish2018/PG/main/pg.20250103-1142.zip
https://ghp.ci/https://raw.githubusercontent.com/fish2018/PG/main/pg.20250103-1142.zip
https://gh.con.sh/https://raw.githubusercontent.com/fish2018/PG/main/pg.20250103-1142.zip
https://ghproxy.net/https://raw.githubusercontent.com/fish2018/PG/main/pg.20250103-1142.zip
https://github.moeyy.xyz/https://raw.githubusercontent.com/fish2018/PG/main/pg.20250103-1142.zip
https://gh-proxy.com/https://raw.githubusercontent.com/fish2018/PG/main/pg.20250103-1142.zip
https://ghproxy.cc/https://raw.githubusercontent.com/fish2018/PG/main/pg.20250103-1142.zip
https://gh.llkk.cc/https://raw.githubusercontent.com/fish2018/PG/main/pg.20250103-1142.zip
https://gh.ddlc.top/https://raw.githubusercontent.com/fish2018/PG/main/pg.20250103-1142.zip
https://gh-proxy.llyke.com/https://raw.githubusercontent.com/fish2018/PG/main/pg.20250103-1142.zip
```
## pg包今日更新内容
PG包[README.txt](http://tv.devopser.org/p/README.txt)
```text
对不起,我是阿里不限速网盘资源全秒播
讨论组: https://t.me/pandagroovechat
发布频道: https://t.me/PandaGroovePG
内置订阅推荐https://pgicloud.github.io
【 阿里,UC,夸克使用本zip包不限速阿里原画不需要svip也不用三方权益包。可能是地球上唯一一个可以流畅在线播放ISO原盘的zip使用外部播放器播放原盘ISO需要在任务列表中把影视锁定不被杀掉后台才能稳定播放。注意不支持仅使用jar必须zip完整解压使用。网盘原画仅支持原版的影视、OK影视。對本zip内的核心jar的魔改或縫合都會導致網盤原畫不可播放。多个播放器或多次外挂本zip情况下需要只保留一个播放器或1个外挂运行其他的要主动杀掉否则可能出现网盘播放异常。因115系统升级扫码方式可能无法看到自己115网盘内容需要抓取115网页版的cookie包含KID字段然后黏贴cookie到网盘设置-》115设置】
今日更新内容:(更多内容阅读zip内的README.txt)
1..优化网络切换后的直播解析缓存可能引起的播放错误。需要网盘配置》其他设置》重新载入GO》点击allinone
2.巨幅优化最强直播中的AV3A HDR频道表现起播阶段的卡顿也消失了。
```
## tgsearch包下载地址
```shell
https://slink.ltd/https://raw.githubusercontent.com/fish2018/PG/main/tgsearchpack.20241023-0901.zip
https://cors.zme.ink/https://raw.githubusercontent.com/fish2018/PG/main/tgsearchpack.20241023-0901.zip
https://git.886.be/https://raw.githubusercontent.com/fish2018/PG/main/tgsearchpack.20241023-0901.zip
https://raw.yzuu.cf/fish2018/PG/main/tgsearchpack.20241023-0901.zip
https://raw.nuaa.cf/fish2018/PG/main/tgsearchpack.20241023-0901.zip
https://raw.kkgithub.com/fish2018/PG/main/tgsearchpack.20241023-0901.zip
https://ghp.ci/https://raw.githubusercontent.com/fish2018/PG/main/tgsearchpack.20241023-0901.zip
https://gitdl.cn/https://raw.githubusercontent.com/fish2018/PG/main/tgsearchpack.20241023-0901.zip
https://gh.con.sh/https://raw.githubusercontent.com/fish2018/PG/main/tgsearchpack.20241023-0901.zip
https://ghproxy.net/https://raw.githubusercontent.com/fish2018/PG/main/tgsearchpack.20241023-0901.zip
https://github.moeyy.xyz/https://raw.githubusercontent.com/fish2018/PG/main/tgsearchpack.20241023-0901.zip
https://gh-proxy.com/https://raw.githubusercontent.com/fish2018/PG/main/tgsearchpack.20241023-0901.zip
https://ghproxy.cc/https://raw.githubusercontent.com/fish2018/PG/main/tgsearchpack.20241023-0901.zip
https://gh.llkk.cc/https://raw.githubusercontent.com/fish2018/PG/main/tgsearchpack.20241023-0901.zip
https://gh.ddlc.top/https://raw.githubusercontent.com/fish2018/PG/main/tgsearchpack.20241023-0901.zip
https://gh-proxy.llyke.com/https://raw.githubusercontent.com/fish2018/PG/main/tgsearchpack.20241023-0901.zip
```
## tgsearch包今日更新内容
[README.txt](http://tv.devopser.org/README.txt)
[教程](https://github.com/fish2018/lib) (@奥利给 @jack)
[安装脚本](https://github.com/DDS-Derek/alist-tvbox-script) (@DDS-Derek)
```yaml
tgsearch多平台独立运行文件使用./tgsearch
-h可以看帮助也支持环境变量赋值防止被坏人偷窥hash具体环境变量分别是API_ID,API_HASH,STRINGSESSION,API_PROXY,API_SESSION_V1,CACHE_DIR。
讨论组: https://t.me/pandagroovechat
发布频道: https://t.me/PandaGroovePG
内置订阅推荐https://pgicloud.github.io
今日更新更多信息查看包内README
1.优化tgsearch域名解析。
2.优化tgsearch当使用-1或-2,-s参数登录时忽略原有session。便于生成新session。v1session容易失效建议用-1方式多获取几个每个设备单独使用。
```
## sync-pg
### 功能:
- 监控TG频道同步更新pg本地包并推送到github生成README.md
- 监控TG频道同步更新tgsearch并推送到github生成README.md
- 支持本地解压zip自动处理jsm.json(设置线路、增删、排序、直播、壁纸、解析、代理规则等),用于提供在线接口
- [支持tdl加速下载](https://docs.iyear.me/tdl/),需要先执行`tdl login -T code`获取配置信息
#### 信息获取
[github.com中设置token](https://github.com/settings/tokens)
[api_id/api_hash申请](https://my.telegram.org/ )
github上公开的api_id/api_hash
```
api_id = 2934000
api_hash = "7407f1e353d48363c48df4c8b3904acb"
api_id = '27335138'
pi_hash = '2459555ba95421148c682e2dc3031bb6'
api_id = 6627460
api_hash = '27a53a0965e486a2bc1b1fcde473b1c4'
```
nginx配置参考
```
map $http_user_agent $browser {
default 0;
~*(Chrome|Firefox|Safari|Opera|MSIE|Trident|Edge) 1;
}
server {
listen 80;
charset 'utf-8';
server_name tv.devopser.org;
root /home/fish2018;
# 允许特定的文件正常访问
location ~* ^/(README\.txt|z/readme\.txt|z/readme-tg\.txt|p/README\.txt)$ {
# 使用 try_files 来确保文件存在并提供访问
try_files $uri =404;
}
# 匹配带有特定查询参数的请求
location ~* ^/p/jsm.json$ {
if ($browser = 1) {
return 302 https://github.com/fish2018/;
}
if ( $query_string ~* ^(.*)pwd=18x$ ) {
add_header Content-Type "application/json; charset=utf-8";
rewrite ^ /p/jsm.json-18x break;
}
}
location / {
if ($browser = 1) {
return 302 https://github.com/fish2018/;
}
# 如果当前请求是浏览器并且请求的 URI 不是 README.md 或 README.txt
root /home/fish2018;
index index.html;
}
}
```
tgsearch
```
cat /etc/nginx/conf.d/tgsearch.conf
server {
listen 80;
server_name tg.devopser.org;
location / {
proxy_pass http://127.0.0.1:10199/;
proxy_redirect off;
proxy_set_header Host $host:$server_port;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
}
```