spaam/svtplay-dl

Site request: Vasaloppet.tv

Opened this issue · 1 comments

svtplay-dl versions:

4.69

Operating system and Python version:

macOS 12.7.3, python 3.12.2_1

What is the issue:

I completed the 90k cross country skiing race Vasaloppet last Sunday and would like to be able to download the livestream that Vasaloppet has on their own site, not just SVTs stream on SVTPlay. If it is at all possible to download these streams from their website I would be very grateful!

svtplay-dl --verbose "https://vasaloppet.tv/video/1113424/mangsbodarna-vasaloppet-2024/"
DEBUG [1709760986.324987] /usr/local/Cellar/svtplay-dl/4.69/libexec/lib/python3.12/site-packages/svtplay_dl/utils/getmedia.py/get_media: version: 4.69
DEBUG [1709760986.32623] /usr/local/Cellar/svtplay-dl/4.69/libexec/lib/python3.12/site-packages/svtplay_dl/service/init.py/init: service: generic
DEBUG [1709760986.326314] /usr/local/Cellar/svtplay-dl/4.69/libexec/lib/python3.12/site-packages/svtplay_dl/utils/http.py/request: HTTP getting 'https://vasaloppet.tv/video/1113424/mangsbodarna-vasaloppet-2024/'
DEBUG [1709760986.336576] /usr/local/Cellar/svtplay-dl/4.69/libexec/lib/python3.12/site-packages/urllib3/connectionpool.py/_new_conn: Starting new HTTPS connection (1): vasaloppet.tv:443
DEBUG [1709760986.449615] /usr/local/Cellar/svtplay-dl/4.69/libexec/lib/python3.12/site-packages/urllib3/connectionpool.py/_make_request: https://vasaloppet.tv:443 "GET /video/1113424/mangsbodarna-vasaloppet-2024/ HTTP/1.1" 200 16941
ERROR [1709760986.479946] /usr/local/Cellar/svtplay-dl/4.69/libexec/lib/python3.12/site-packages/svtplay_dl/utils/getmedia.py/get_media: That site is not supported. Make a ticket or send a message

Further URL:s to other streams:
https://vasaloppet.tv/video/1113442/vasaloppet-live-2/
https://vasaloppet.tv/video/1113427/risberg-vasaloppet-2024/
https://vasaloppet.tv/video/1113429/evertsberg-vasaloppet-2024/
https://vasaloppet.tv/video/1113431/oxberg-vasaloppet-2024/
https://vasaloppet.tv/video/1113433/hokberg-vasaloppet-2024/
https://vasaloppet.tv/video/1113435/eldris-vasaloppet-2024/
https://vasaloppet.tv/video/1113437/malgang-i-mora-vasaloppet-2024/

I had a look and it's not trivial. But you can always use the network tab of your browser's dev tools and get the URL that ends in .m3u8.

For the first link you're providing, it's https://www.streamio.com/api/v1/videos/65f0743e6f8d8d7066000001/public_show.m3u8.

Then you can use svtplay-dl, youtube-dl or yt-dlp to download the video:

svtplay-dl https://www.streamio.com/api/v1/videos/65f0743e6f8d8d7066000001/public_show.m3u8