chrippa / livestreamer

Command-line utility that extracts streams from various services and pipes them into a video player of choice. No longer maintained, use streamlink or youtube-dl instead.
http://livestreamer.io/
BSD 2-Clause "Simplified" License
3.88k stars 586 forks source link

No streams found on this URL #1643

Open Rzeznik1 opened 6 years ago

Rzeznik1 commented 6 years ago

q1 how to fix?

nanpuhaha commented 6 years ago

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
JonJaded commented 6 years ago

Same here. Any other tools to use in the meantime?

I'm guessing youtube changed the way streams are viewed or something.

lomacks commented 6 years ago

+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.

Rzeznik1 commented 6 years ago

please update new version "livestreamer"

life commented 6 years ago

please update new version "livestreamer"

JonJaded commented 6 years ago

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.

https://github.com/streamlink/streamlink

Rzeznik1 commented 6 years ago

streamlink doesnt work:/ now using program "youtubebyclick"

ColasNahaboo commented 6 years ago

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"
        }

cf: https://github.com/streamlink/streamlink/issues/1421

life commented 6 years ago

@ColasNahaboo Thanks. I could not find the file there

find /usr -name "youtube.py"

my file -> /usr/local/lib/python2.7/dist-packages/livestreamer/plugins/youtube.py

Problem solved :)

ColasNahaboo commented 6 years ago

This path was for my debian, with livestreamer installed by pip locate python.py should find all the instances in your system.

PedroLopes commented 6 years ago

@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.

JonJaded commented 6 years ago

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?

JonJaded commented 6 years ago

Screw it, im going to streamlink.

ColasNahaboo commented 6 years ago

@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 :-)

sallyhaj commented 6 years ago

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