Comments (17)
盒子的不太懂,倒是自己可以修改增加些自己城市的酒店搜索地址
from tv.
请教下要怎么改,小白,完全小白那种。:)
from tv.
urls根据自己本地的地理位置修改,多增加一些url,总有合适的。象这样增加: "https://fofa.info/result?qbase64=ImlwdHYvbGl2ZS96aF9jbi5qcyIgJiYgY2l0eT0iZ3VpZ2FuZyI=", # 贵港
"https://fofa.info/result?qbase64=ImlwdHYvbGl2ZS96aF9jbi5qcyIgJiYgY2l0eT0iZ3VpeWFuZyI=", # 贵阳
"https://fofa.info/result?qbase64=ImlwdHYvbGl2ZS96aF9jbi5qcyIgJiYgY2l0eT0iaGFpa291Ig==", # 海口
"https://fofa.info/result?qbase64=ImlwdHYvbGl2ZS96aF9jbi5qcyIgJiYgY2l0eT0iaGFuZGFuIg==", # 邯郸
"https://fofa.info/result?qbase64=ImlwdHYvbGl2ZS96aF9jbi5qcyIgJiYgY2l0eT0iaGFuZ3pob3Ui", # 杭州
"https://fofa.info/result?qbase64=ImlwdHYvbGl2ZS96aF9jbi5qcyIgJiYgY2l0eT0iaGViaSI=", # 鹤壁
"https://fofa.info/result?qbase64=ImlwdHYvbGl2ZS96aF9jbi5qcyIgJiYgY2l0eT0iaGVmZWki", # 合肥
from tv.
大佬,是不是修改tv-mian文件夹里的itv_all(1080),itv_all,itvall(ZHGXTV)这3个python文件,然后在里面添加这些url。比如"https://fofa.info/result?qbase64=ImlwdHYvbGl2ZS96aF9jbi5qcyIgJiYgY2l0eT0iaGFuZ3pob3Ui", # 杭州。但还有个问题是,怎么是把上面的ImlwdHYvbGl2ZS96aF9jbi5qcyIgJiYgY2l0eT0iaGFuZ3pob3Ui和杭州对应起来的啊。我在fofa.info这个网站搜索hangzhou,出来的是https://fofa.info/result?qbase64=aGFuZ3pob3U%3D,是不是前面一串从I开始的到0已结束的不用动,只需要修改后面从aGFu开始的,但是hangzhou的对应的字符是aGFuZ3pob3U%3D,大佬给的杭州是aGFuZ3pob3Ui,请问是哪儿的问题。又看了下已存在的itvall(ZHGXTV)这个文件,也有类似的问题,搜索changsha,fofa给出的字符是Y2hhbmdzaGE%3D,大佬文件里的是Y2hhbmdzaGEi,是必须要做什么修改么。
from tv.
用浏览器打开一个网址,就清楚了
from tv.
好的,这点弄明白了。我看了下3个python文件,有建议“###urls城市根据自己所处地理位置修改”的只存在于itvall(ZHGXTV)这个文件里,是不是只需要在这个里面添加即可,不用再改itv_all(1080),itv_all,这2个文件了
from tv.
都是独立的,每个都可以改
from tv.
都是独立的,每个都可以改
Error: Process completed with exit code 1..自动py更新报错是咋回事啊。
from tv.
都是独立的,每个都可以改
好的,谢谢指点。我来修改下试试。另外大佬,再请教个问题,这2个网络空间的话,如果将文件中的"iptv/live/zh_cn.js" && country="CN" && region="Hebei"做修改,比如iptv/live/zh_cn.js改成iptv/live/tw_cn.js,country="CN"改成country="TW",region="Hebei"改成region="Taiwan",是不是可以搜索到**的频道?这种修改要遵循什么样的法则?
from tv.
只保留第一个,什么cn什么的都去掉,你就能看有没有其他地区的了
from tv.
只保留第一个,什么cn什么的都去掉,你就能看有没有其他地区的了
我好像问了一个愚蠢的问题,去掉cn这些后即使能搜到,但是也无法抓取对吧,因为需要修改python文件的写法了,比如这些语句。
with open("itvlist.txt", 'w', encoding='utf-8') as file:
channel_counters = {}
file.write('央视频道,#genre#\n')
for result in results:
channel_name, channel_url, speed = result
if 'CCTV' in channel_name:
if channel_name in channel_counters:
if channel_counters[channel_name] >= result_counter:
continue
else:
file.write(f"{channel_name},{channel_url}\n")
channel_counters[channel_name] += 1
else:
file.write(f"{channel_name},{channel_url}\n")
channel_counters[channel_name] = 1
channel_counters = {}
file.write('卫视频道,#genre#\n')
就是说如果要抓取其它频道,需要懂python,然后去修改那3个python文件,才能行得通。对吧。
from tv.
搜索的只有国内的,其他地方的搜索不到的。
from tv.
大佬请看附图,我用的这些关键词搜索的。不过我完全不懂python,所以是不是即使有这些数据大佬现在的文件是不是也抓不到任何东西。因为python里的关键词是央视,卫视。
from tv.
其它地区的不懂了,
from tv.
好的,明白了。大佬写的那个udpxy里的组播,需要怎么维护么。感觉挺好用的。
from tv.
不需要维护,不能用了告诉我,我再修改。
from tv.
好的,多谢指点。
from tv.
Related Issues (20)
- docker版本每次都要手动吗 HOT 3
- python3: can't open file '/app/itvall.py': [Errno 2] No such file or directory HOT 1
- /ZHGXTV/ HOT 2
- 有些网络问题:速度太慢,播放不流畅,可否优化 HOT 8
- itv_all(1080).py line 33 issue HOT 6
- sudo docker run liuxipo/itvall HOT 12
- 运行sudo docker run liuxipo/itvall 出现下面的报错 HOT 1
- 请求大佬 能不能直接在docker搞个端口映射 容器运行好后 让容器保持运行 设置多长时间抓取一次 最后我们直接访问http://本地ip:端口/itvall/itvlist.txt 就行了 就不用再映射到外面目录了 HOT 3
- 你好老大。我对你的组播地址很感兴趣 HOT 21
- 收到您的组播脚本规则了,但是遇到点小问题 HOT 1
- docker pull liuxipo/itvall:latest HOT 1
- 群晖docker运行完不保存文件 HOT 4
- 关于组播的一点意见 HOT 2
- 请问大佬,fofa 是否可以实现登录,这样查询的数据可能会多点 HOT 2
- 大佬 搜索直播源出问题了 HOT 3
- 建议给docker版本加上自建web服务,可以设置定时自动执行刷新任务 HOT 1
- m3u 完整格式问题 在某些软件在线订阅频道获取失败 HOT 2
- 本地运行itv1080.py没有可用频道 HOT 4
- Error response from daemon: pull access denied for itvall, repository does not exist or may require 'docker login': denied: requested access to the resource is denied
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tv.