benmoose39 / ustvgo_to_m3u Goto Github PK
View Code? Open in Web Editor NEWGrabs m3u links from ustvgo.tv
License: MIT License
Grabs m3u links from ustvgo.tv
License: MIT License
Have you thought about sharing how you generate the ustvgo_channel_info.txt file? I need it with the channel id (which is found in the iframe tag around the tvguide listing).
This started happening yesterday:
0%| | 0/100 [00:00<?, ?it/s]Traceback (most recent call last):
File "ustvgo_m3ugrabber.py", line 93, in <module>
grab(line)
File "ustvgo_m3ugrabber.py", line 59, in grab
getSample()
File "ustvgo_m3ugrabber.py", line 49, in getSample
novpn_sample = src.split("hls_src='")[1].split("'")[0]
IndexError: list index out of range
1%|█▏ | 1/100 [00:22<36:20, 22.02s/it
The resulting m3u is empty
topstreams.info/nba/ {insert nba team} it is an official nba league pass stream feed. It depends on the what the schedule is so for example the Raptos vs Hawks are playing the link would be https://topstreams.info/nba/raptors or https://topstreams.info/nba/hawks . I hope you consider making a script for this one cause this stream is super stable. I can even play it on mpv after viewing page source in firefox and searching m3u link. The stream only goes live during game time.
if you are familiar with paid iptv services this would be equivalent to their league pass.
anyone know how to install on Mac
Hi there. None of the channels in the generated m3u playlist are working.
Also, the script was stuck in a loop trying to install dqdm. After I installed it myself using pip3 it generated the playlist just fine.
But like I said, the links do not work though.
Pasting em into the browser gives me a "forbidden" message.
Should the ustv_go_channel_info.txt file be used for the EPG? I've tried to add it to xTeVe but it won't import.
How about a new thetvapp script As a replacement for ustvgo.
I will try to explain what I want, but please forgive any misstatements.
thetvapp.to works fine, I can also get a 6 hour m3u with Chrome m3u sniffer which works fine.
But instead of having to get and change the multiple m3u's for a player like TiviMate all the time
I'd rather be able to execute a script and get the full m3u playlist something like this sample for the full 112 channel list to paste in Tivimate ...
or better yet, just have the Tivimate m3u url reference fetch a new 6 hour Playlist every time its used: Would be great for TiviMate multiscreen and/or record.
Using the tvc-guide-stationid gets the logo and guide for something like C hannels d v r
Sample:
#EXTINF:-1 channel-id="golf" tvc-guide-stationid="61854",GOLF
https://e1.thetvapp.to/hls/GolfChannel.m3u8?token=IgRk1qHzHPYm15WC6mWykA&expires=1688361614
Thanks for considering, I'm not sure how I will know if you can do this.
Better yet: If you can get to the base m3u minus the "token / expires" then no refresh needed!
Not an issue but I do feel it’s necessary to tell you sharing this project is very appreciated. Simple and easy. And better than those other scripts which require FireFox or nodejs to be installed. Again, thanks for this!
topstreams.info/nba/ {insert nba team} it is an official nba league pass stream feed. It depends on the what the schedule is so for example the Raptos vs Hawks are playing the link would be https://topstreams.info/nba/raptors or https://topstreams.info/nba/hawks . I hope you consider making a script for this one cause this stream is super stable. I can even play it on mpv after viewing page source in firefox and searching m3u link. The stream only goes live during game time.
if you are familiar with paid iptv services this would be equivalent to their league pass.
As mentioned in the title, the autorun.sh script fails with the forementioned error and a blank m3u is generated
$ ./autorun.sh
grabbing the links...
#########################################################################
# ____ _ _ __ __ #
# | _ \ _ __ ___ (_) ___ ___| |_| \/ | ___ ___ ___ ___ #
# | |_) | '__/ _ \| |/ _ \/ __| __| |\/| |/ _ \ / _ \/ __|/ _ \ #
# | __/| | | (_) | | __/ (__| |_| | | | (_) | (_) \__ \ __/ #
# |_| |_| \___// |\___|\___|\__|_| |_|\___/ \___/|___/\___| #
# |__/ #
# >> https://github.com/benmoose39 #
#########################################################################
[*] Checking dependencies...
[*] Generating your playlist, please wait...
0%| | 0/102 [00:00<?, ?it/s]Traceback (most recent call last):
File "/home/user/Desktop/ustvgo_to_m3u/scripts/ustvgo_m3ugrabber.py", line 93, in <module>
grab(line)
File "/home/user/Desktop/ustvgo_to_m3u/scripts/ustvgo_m3ugrabber.py", line 59, in grab
getSample()
File "/home/user/Desktop/ustvgo_to_m3u/scripts/ustvgo_m3ugrabber.py", line 49, in getSample
novpn_sample = src.split("hls_src='")[1].split("'")[0]
IndexError: list index out of range
1%|▍ | 1/102 [00:00<01:09, 1.45it/s]
done
Debian unstable x64 with python 3.10.6, but the same happens on libreelec 10 stable that has python 3.8.9.
---edit
As it seems, the page has changed and some channels that did not need a vpn, e.g. syfy, now they do. If possible, please renew the channels list as well, so that it mentions the new ones that need the vpn.
This reddit thread describes it better that I would ever do, so please read here
https://old.reddit.com/r/Piracy/comments/10hh1ff/ustvgo_says_sorry_we_are_closed/
I just read about it, I checked the script and it is not working
[*] Generating your playlist, please wait...
0%| | 0/114 [00:00<?, ?it/s]Traceback (most recent call last):
File "/home/user/Desktop/ustvgo_to_m3u-main/scripts/ustvgo_m3ugrabber.py", line 89, in <module>
grab(line)
File "/home/user/Desktop/ustvgo_to_m3u-main/scripts/ustvgo_m3ugrabber.py", line 59, in grab
getSample()
File "/home/user/Desktop/ustvgo_to_m3u-main/scripts/ustvgo_m3ugrabber.py", line 49, in getSample
novpn_sample = src.split("hls_src='")[1].split("'")[0]
IndexError: list index out of range
1%|▍ | 1/114 [00:00<00:43, 2.60it/s]
script works fine locally but on remote server running python 3.9 the generated urls are not active or appear expired vs the local m3u version.
Any ideas how to fix this?
Regards
When I run "python3 server.py" it says its running but on ip 0.0.0.0 and I think its related to this code:
app.run('0.0.0.0', PORT)
It displays the right port but only 0's for ip.
I want to mention that I have been using your solution for a long time and you have done an excellent job, but as of today I have encountered a problem and all the channels that need VPN no longer work.
Do you have any idea how I can solve this without using a VPN?
Thanks
you should provide a license for your code as it looks like others are shamelessly trying to pass off your work as theirs:
https://github.com/bitsbb01/ustvgotom3u
looks like they left your dono link in the README in tact ;)
Been using this awesome app for a week now but today it stopped working. What happened?
i keep getting this in the log.
python3 autoCRON.py
shell: /usr/bin/bash -e {0}
TERM environment variable not set.
Collecting tqdm
Downloading tqdm-4.62.3-py2.py3-none-any.whl (76 kB)
Installing collected packages: tqdm
Successfully installed tqdm-4.62.3
Then it just keeps running saying:-
Requirement already satisfied: tqdm in /home/runner/.local/lib/python3.8/site-packages (4.62.3)
Thank you for your work. USTVGO now has 113 channels and it seems 82. Nick Jr is missing from the channels file. Just letting you know. Superstation WTF
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.