aajanki / yle-dl

Download videos from Yle servers
https://aajanki.github.io/yle-dl/index-en.html
GNU General Public License v3.0
309 stars 51 forks source link

Some news URLs do not work #268

Closed tpikonen closed 3 years ago

tpikonen commented 3 years ago

There are still some news URLs where streams are not found.

Example with video: https://yle.fi/urheilu/3-11861925 Example with audio: https://yle.fi/uutiset/3-11843834

But for example this URL works: https://yle.fi/uutiset/3-11861836

aajanki commented 3 years ago

I improved the stream detection code again and these cases now work.

By my count, yle.fi/uutiset uses at least six different ways to embed video/audio content. :astonished:

odelma commented 2 years ago

I was wondering if it is a user error or is this kind of page such where the video url detection does not work: https://yle.fi/uutiset/3-12570253

As the error I'm getting: ERROR: Unsupported stream: Required backend not enabled. Try: --backend ffmpeg

aajanki commented 2 years ago

That particular video can only be downloaded using ffmpeg. You should install ffmpeg and then yle-dl should be able to download it.

If you already have ffmpeg installed, it might be that yle-dl can't find it. In that case, use the --ffmpeg command line switch to set the location of the ffmpeg application, for example: yle-dl --ffmpeg /path/to/ffmpeg https://yle.fi/uutiset/3-12570253

odelma commented 2 years ago

Thanks - actually I first tried with ffmpeg but apparently the version was too old. Got it working now 👍