zjyl1994 / livetv

Use Youtube live as IPTV feeds
MIT License
86 stars 68 forks source link

youtube static address work no longer #3

Open JinJin-o opened 3 years ago

JinJin-o commented 3 years ago

i tryed with docker

Before I could make m3u with

https://www.youtube.com/channel/ChnnelID/live

ex) https://www.youtube.com/channel/UCJUCcJUeh0Cz2xyKwkw5Q1w/live

but it does not work now

can you give me a hint?

zjyl1994 commented 3 years ago

try build newer youtube-dl in docker image?

JinJin-o commented 3 years ago

try build newer youtube-dl in docker image?

I tryed

in host

$sudo curl -L https://yt-dl.org/downloads/latest/youtube-dl -o ~/Download/youtube-dl $docker cp ~/Download/youtube-dl livetv(my container):/usr/local/bin/youtube-dl $docker exec -it livetv /bin/sh

in container

chmod a+rx /usr/local/bin/youtube-dl

and it still doesn't work

JinJin-o commented 3 years ago

try build newer youtube-dl in docker image?

not only youtube-dl but streamlink do not work also.

is there any way to get it?

matthuo333 commented 3 years ago

我也有同样情况,是不是youtube-dl不用一直启动进程?同时,手动执行youtube-dl 提示如下: I have the same situation. Isn't it necessary for youtube-dl to start the process all the time? At the same time, manually execute the youtube-dl prompt as follows:

~ # /usr/bin/youtube-dl -f best -g https://youtu.be/J8KVk6rBJ1E ERROR: J8KVk6rBJ1E: YouTube said: Unable to extract video data

matthuo333 commented 3 years ago

刚刚更新最新的youtube-dl , 执行后,提示如下: Just update the latest youtube-dl, after execution, the prompt is as follows:

env: can't execute 'python': No such file or directory

matthuo333 commented 3 years ago

最后OK了,但是貌似针对有些直播,解析为m3u8后,很快就无效了。再解析,就再有效了。这个该如何应对? Finally, it was OK, but it seemed that for some live broadcasts, after parsing to m3u8, it soon became invalid. If you analyze it again, it will be effective again. How to deal with this?

matthuo333 commented 3 years ago

但是通过你的web ui 仍然不行。刚才说的OK,是通过手动执行youtube-dl 完成的 But still not working through your web ui. The OK just mentioned is done by manually executing youtube-dl.