benmoose39 / youtube_to_m3u Goto Github PK
View Code? Open in Web Editor NEWGrabs m3u from YouTube live.
License: MIT License
Grabs m3u from YouTube live.
License: MIT License
as the title says...
I'm running the script with python version 3.8.6 and when running the script I'm getting this error:
Traceback (most recent call last): File "youtube_m3ugrabber.py", line 62, in <module> tvg_id = line[3].strip() IndexError: list index out of range
I'm just analysing what the process is doing and I'm noticing that it's reading the entries in the youtube_channel_info.txt file and splitting the data on the pipe character. However there's a lot of entries that have a missing channel icon url, so I'm assuming that judging from the output that it'll be using the next row for this, which is the channel url. However this therefore means that there is no channel url as this data is now being used for the icon url.
I assume that the channel icon isn't mandatory? I was wondering if you can create a fix for this where if there is no data for the icon url row, then provide a fallback icon that's just generic?
Hi Bro,
If we have two live feed how to select which feed to be viewed in the m3u8 file?
Ex: Sky News by default Covid Live is picked, but the 2nd Live feed is the news coverage. How do we select the news coverage here?
https://www.youtube.com/user/skynews
TIA
When there is Two lives in a channel "https://www.youtube.com/channel/CHANNEL_ID/live" this url gives the second live stream url. As today ploimer news live streamed TN Assembly stream it replased the First news stream.
For example WION news channel mostly have more than one live stream but while genrating the m3u8 links we will only get the latest live link not the news live link.
All channels are linking
"https://raw.githubusercontent.com/benmoose39/YouTube_to_m3u/main/assets/moose_na.m3u"
https://www.youtube.com/watch?v=V0WxUakDV7M
https://www.youtube.com/watch?v=xL0ch83RAK8
https://www.youtube.com/watch?v=pJ0VgJloR9E
https://www.youtube.com/watch?v=NHTD_g1LYOM
https://www.youtube.com/watch?v=XxJKnDLYZz4
https://www.youtube.com/watch?v=R2iMq5LKXco
https://www.youtube.com/watch?v=ABn_ccXn_jc
https://www.youtube.com/watch?v=lu_BJKxqGnk
https://www.youtube.com/watch?v=EmuMuVyAjh4
Can you add the livestream for M1 Hungary to the list?
Hello. I would like you to add Claro Sports channels to your m3u list, they are the ones that give the Olympic games in Hispanic America.
Claro Sports 1: https://youtu.be/pQONlmOhXeg
Claro Sports 2: https://youtu.be/51iVn2QqGLY
Claro Sports 3:
https://youtu.be/tQ4FuUCmsOM
Claro Sports 4: https://youtu.be/QlMUZM5sWkg
Thank you very much 👍
检查了地址没有问题,不能播放:https://www.youtube.com/watch?v=2mCSYvcfhtc
Cool script @benmoose39 CONGRATS
Can you add a feature like this?
For English Content:
$ ./autorun.sh --lang=en
For Spanish Content:
$ ./autorun.sh --lang=es
Thanks
My net speed can only play 480p ...
Can you show me how it work with local computer??
I tried to run it but error
Hi there. I just recently tried your script.
But I'm getting this error:
Traceback (most recent call last):
File "/home/chris/YouTube_to_m3u/scripts/youtube_m3ugrabber.py", line 60, in
grp_title = line[1].strip().title()
IndexError: list index out of range
m3u grabbed
You may want to update to https://tsepg.cf/epg.xml.gz as it's better supported
Hi benmoose39,
Cool work!
I want to know how to set the resolution.
It always starts with the lowest resolution.
How can I set it to 1080P?
Tks!
I would like to import this script into my project.
So I would appreciate it if you could set proper license. 🙇
Forked and modified project:
https://github.com/eggplants/y2m
There's something weird going on. If it`s difference between runed in github and local? As when I autorun locally it generated successfully with by "https://youtu.be/wM0g8EoUZ_E" but for github it failed just generated to something like "https://raw.githubusercontent.com/benmoose39/YouTube_to_m3u/main/assets/moose_na.m3u"
Thank you very much for this proyect.
I'm trying to add this live channel
https://www.youtube.com/watch?v=6hWHWGJ1Gbw
The channel is from argentina.
In youtube.com it's working fine
but in the "youtube.m3u" file I'm getting the
"https://raw.githubusercontent.com/naveenland4/YouTube_to_m3u/main/assets/info.m3u8"
I don't know how to fix this
Thanks !!!!
(sory my english)
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.