Open Rzeznik1 opened 6 years ago
how to fix?
Same here...
livestreamer "https://www.youtube.com/watch?v=wUM9FP4vwsA" best --hls-live-edge 99999 -o Live180110.ts
[cli][info] Found matching plugin youtube for URL https://www.youtube.com/watch?v=wUM9FP4vwsA
error: No streams found on this URL: https://www.youtube.com/watch?v=wUM9FP4vwsA
Same here. Any other tools to use in the meantime?
I'm guessing youtube changed the way streams are viewed or something.
+1 ; same issue here:
$ livestreamer --hls-live-edge 99999 --hls-segment-threads 5 --output output.ts --force 'https://www.youtube.com/watch?v=2L4_1Cj9NFQ' best
[cli][info] Found matching plugin youtube for URL https://www.youtube.com/watch?v=2L4_1Cj9NFQ
error: No streams found on this URL: https://www.youtube.com/watch?v=2L4_1Cj9NFQ
Adding -l debug
didn't produce any additional output unfortunately.
please update new version "livestreamer"
please update new version "livestreamer"
It's not going to get updated.
Move on to streamlink, this project is abandoned, and the dev is no where to be found. Completely silent on his twitter too. Hope nothing happened to him.
streamlink doesnt work:/ now using program "youtubebyclick"
Streamlink has found a fix, that also works for livestreamer !
in plugins/youtube.py (on debian: /usr/lib/python2.7/dist-packages/livestreamer/plugins/youtube.py ), at line 158, change: player_embedded
by detailpage
to obtain:
params = {
"video_id": video_id,
"el": "detailpage"
}
@ColasNahaboo Thanks. I could not find the file there
my file -> /usr/local/lib/python2.7/dist-packages/livestreamer/plugins/youtube.py
Problem solved :)
This path was for my debian, with livestreamer installed by pip
locate python.py
should find all the instances in your system.
@ColasNahaboo that worked. Should that not be integrated via pull request? Just in case, I created one here: https://github.com/chrippa/livestreamer/pull/1648 to address this.
Note: is there any known downside to this approach of using "el": "detailpage"
instead?
Lastly, Thanks @ColasNahaboo for noticing the fix and the livestreamer team for such a wonderful tool.
I use the portable version of this app, and the "youtube.py" file is compressed as a youtube.pyc file.
What can I do about this?
Screw it, im going to streamlink.
@PedroLopes "Note: is there any known downside to this approach" : No idea, I am no specialist.
I guess the long term solution should be to move to streamlink, which seems still maintained. But as a quick workaround, just using their fixes seem to work :-)
Changing in Fedora 27 are the same, file is
/usr/lib/python3.6/site-packages/livestreamer/plugins/youtube.py
Line number 158,
It fixed the issue but with YouTube only as it obvious.
So, I'll try streamlink.
By the way you can install streamlink on fedora by
sudo dnf install python3-streamlink