livetv icon indicating copy to clipboard operation
livetv copied to clipboard

youtube static address work no longer

Open JinJin-o opened this issue 4 years ago • 7 comments

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?

JinJin-o avatar Nov 03 '20 04:11 JinJin-o

try build newer youtube-dl in docker image?

zjyl1994 avatar Nov 29 '20 02:11 zjyl1994

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 avatar Dec 23 '20 00:12 JinJin-o

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?

JinJin-o avatar Dec 23 '20 05:12 JinJin-o

我也有同样情况,是不是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 avatar May 26 '21 11:05 matthuo333

刚刚更新最新的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 avatar May 26 '21 12:05 matthuo333

最后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 avatar May 26 '21 13:05 matthuo333

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

matthuo333 avatar May 26 '21 14:05 matthuo333