Giter VIP home page Giter VIP logo

guovin / tv Goto Github PK

View Code? Open in Web Editor NEW
508.0 38.0 343.0 4.05 MB

📺直播源接口校验与自动更新工具🚀,支持线上检索、订阅源、组播源,支持自定义频道菜单,可用于TVBox等软件,每日更新 | Live Stream Source Verification and Automatic Update Tool, supports online search, subscription sources, multicast sources, customizable channel menus, suitable for software like TVBox, updated daily

License: MIT License

Python 100.00%
auto iptv tvbox tv ipv4 ipv6

tv's Introduction

Hey 👋, I'm Govin

Govin's github stats Govin's github stats

tv's People

Contributors

github-actions[bot] avatar guovin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tv's Issues

最新版1.06报错

image

执行成功了,但是频道只有几个,查看记录,里面有报错。

image

大佬你好,可否增加获取源

大佬你好,程序主要获取的是 www.foodieguide.com/iptvsearch/ 网站搜索的源

可否增加一些源获取途径,比如现在最多的tvbox格式的直播源链接

因为github已经有大量的公开tvbox源了,而且很多也是经过测试的,这种格式也是本项目最终输出的格式

如果可以自由添加网络上公开的 tvbox格式的直播源链接,对于这些来源本项目 只做去重,速度排序,按模板输出需要的源

那获取的源将可以更加的全面

频道名称匹配问题

对于订阅节目源
demo.txt里面设置的频道名称和订阅节目源的名称不统一,应该就匹配不到

可否增加一个自动匹配 频道名称 的功能?

就像公开源网站搜索那样:输入 湖南卫视,那么 湖南卫视HD,湖南卫视576,湖南卫视标清,湖南卫视高清等都会匹配搜索出来。

这样的话,只要维护 demo.txt的内容,就算是 订阅节目源 也能找到需要的内容

毕竟有很多公开的或私有的,已经经过别人整理过的订阅节目源非常不错,可以根据自己的情况扣出自己需要的频道

运行后的文件和demo一模一样

按照你的教程操作了一遍后,运行的结果user_result.txt和user_demo.txt的文件一模一样,

是这样的吗,还是哪里不对

每次都要手动更新?

以后频道更新,需要每次在Python里运行再上传个人仓库,是吗?
运行pipenv run build这一步时非常慢,快一个小时了。不知道是我的问题还是本来就这样。

本地执行报错

大佬你好,本地运行有些问题
ubuntu 22.04
开始缺少模块
pip install async_timeout 安装后好了
image
又提示这个,是说chrome驱动不对吗?
估计要环境正常还得上docker

source.json文件怎么使用的

1、source.json文件怎么使用的,在代码里没看到哪块使用,
2、source.json里面的源内容配置能否不配置{ http://饭太硬.top/tv},而配置里面的直播链接
https://mirror.ghproxy.com/raw.githubusercontent.com/dxawi/0/main/tvlive.txt,或者配置两种都支持
3、这个source.json配置的数据源会把里面的lives的直播源都遍历一遍吗? 再去筛选出有效的整合成一个文件吗?还是去{http://tonkiang.us}这个网站根据电视台名字去搜索,然后获取出来m3u8链接放到result.txt里
微信截图_20240229172333
4、获取回来的同名源,比如CCTV1有15个源,是咋排序的,清晰度最高,速度最快的放到第一个吗?
感谢大佬解答

在win11 装了python 运行,不知道是什么原因

Python 3.12.3 (tags/v3.12.3:f6650f9, Apr 9 2024, 14:05:25) [MSC v.1938 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.

pip3 install pipenv
File "", line 1
pip3 install pipenv
^^^^^^^
SyntaxError: invalid syntax

拉取项目后push报错

[master 747ec9f] Github Action Auto Updated
1 file changed, 546 insertions(+), 475 deletions(-)
To https://github.com/pengwoo414-web/TVbox
! [rejected] master -> master (fetch first)
error: failed to push some refs to 'https://github.com/pengwoo414-web/TVbox'
hint: Updates were rejected because the remote contains work that you do not
hint: have locally. This is usually caused by another repository pushing to
hint: the same ref. If you want to integrate the remote changes, use
hint: 'git pull' before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
Error: Process completed with exit code 1.

出现这个错误,应该怎么处理?还望兄台给我这个小白指点一二,先行谢过!!!

url解析需要修改了

今天抽空看了一下,发现直播都看不了了,一查,url是一周前的了,调试了一下,发现url全部解析成https://foodieguide.com/iptvsearch/donotsteal.m3u8

发现网站改dom了,加了节点
修改了一下取url的方式
def getUrlInfo(result):
"""
Get the url, date and resolution
"""
url = date = resolution = None
result_div = [div for div in result.children if div.name == "div"]
if 1 < len(result_div):
channel_text = result_div[-2].get_text(strip=True)

我配置的是ipv6,话说你们的都是好的么?

同步上游代码的问题

很多人根本没有能力修改代码,但是却需要个人自己定义配置模板,比如我,增加了模板文件,会生成我需要的列表

但有个小问题,你的代码更新后,我同步上游就会有冲突, 就是result.log 这个文件

可否在使用了个人配置文件,也可以设置生成 user_result.log ,这样同步你的最新代码就不会有冲突了

报错如何解决

在本地运行时报错:
[0427/013047.661:ERROR:ssl_client_socket_impl.cc(879)]handshake failed;returned -1, SSL error code 1, net_error -100
[0427/013052.268:ERROR:ssl_client_socket_impl.cc(879)] handshake failed; returned code 1, net_error
[0427/013053.800:ERROR:ssl_client_socket_impl.cc(879)] handshake failed; returror code 1, net_error
[0427/013055.848:ERROR:ssl_client_socket_impl.cc(879)]handshake failed;returned -1, SSL error code 1, net_error -100

bug:加了个人配置,没有输出

已经同步到最新代码了
设置了 user_demo
工作流成功运行
但是在.txt里面显示的还是user_demo.txt里面的内容
请帮排查一下是哪里的原因

cctv5和cctv5+

cctv5和cctv5+两个频道源混乱,应该是要单独处理下这两个频道

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.