Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Eurosport Player #17365

Closed
beta2k opened this issue Aug 27, 2018 · 18 comments
Closed

Support Eurosport Player #17365

beta2k opened this issue Aug 27, 2018 · 18 comments
Labels

Comments

@beta2k
Copy link

@beta2k beta2k commented Aug 27, 2018

Can the Eurosport Player be supported? For instance, I would like to download the following video for personal use: https://at.eurosportplayer.com/en/event/court-12/453b4459-3b6e-44dd-a278-3b6617791875

I have an account, if credentials are needed, I can provide them.

@ghost
Copy link

@ghost ghost commented Oct 31, 2018

This would be a useful feature. What additional information do you need? @remitamine

@remitamine
Copy link
Collaborator

@remitamine remitamine commented Oct 31, 2018

  • the user didn't fill the issue template.
  • the website is geo-restricted to Europe.
  • the website requires an account.
  • the website might be using DRM to protect their videos which youtube-dl does not support.
@ghost
Copy link

@ghost ghost commented Nov 3, 2018

  1. I can do that
  2. Maybe you can use a free VPN service?
  3. Maybe we can ask people to lend their own account?
  4. How can I check that? I was able to download a ".ts" file from the website using this extension, but VLC is unable to play the file
@remitamine
Copy link
Collaborator

@remitamine remitamine commented Nov 3, 2018

when I write those points, it's not just about me(I'm not necessarily the one that will work on it).

I can do that.

you can create an issue then.

Maybe you can use a free VPN service?

I do have access to the website.

Maybe we can ask people to lend their own account?

I'm not going to ask anyone for his account, if someone wants to provide an account for testing he can initiate the contact.

How can I check that? I was able to download a ".ts" file from the website using this extension, but VLC is unable to play the file

there is no universal method to know(most of the time it can be checked in the manifest that contain segments links), it depends on the service.

@ghost
Copy link

@ghost ghost commented Nov 3, 2018

@remitamine thanks!

1800_complete-trimmed.m3u8.txt
master_desktop_complete-trimmed.m3u8.txt

I attach the file `master_desktop_complete-trimmed.m3u8" which should contain the links to the m3u8 files at various bitrates, and "1800_complete-trimmed.m3u8" which should contain the link to the chunks of the 896x504 resolution.

In particular, in "1800_complete-trimmed.m3u8", it appears

#EXT-X-KEY:METHOD=AES-128,URI="https://drm-api.svcs.eurosportplayer.com/events/c3b50e14-0460-4441-800f-2c57726b2b28/media/d83973bd-e8e0-4f09-8613-c7b969fe6299/keys/ff29190b-d594-4877-bb8f-58a75d88e3b7",IV=0x6D5D481697F98E2A4852FBA178E91EBD
#EXTINF:5,

So it is my understanding it is encrypted with AES-128? How can I download the public key?

The link to the URI dows not work for me. It says "Connection refused"

@remitamine
Copy link
Collaborator

@remitamine remitamine commented Nov 3, 2018

from the manifests that you have posted there is no indication that they really use DRM, the manifests are similar to the ones used by RTBF, which require different cookies for obtaining the keys from the ones used for the segments(even thought that you didn't post the original urls):

#EXTM3U
#EXT-X-VERSION:1
## Created with Unified Streaming Platform(version=1.8.5)
#EXT-X-MEDIA-SEQUENCE:192657986
#EXT-X-TARGETDURATION:8
#USP-X-TIMESTAMP-MAP:MPEGTS=3486398384,LOCAL=2018-11-03T16:51:21Z
#EXT-X-PROGRAM-DATE-TIME:2018-11-03T16:51:21Z
#EXT-X-KEY:METHOD=AES-128,URI="https://www.rtbf.be/api/drm/aeskey?stream_name=ladeux"
#EXTINF:8, no desc
ladeux_aes-audio_1=128000-video=2000000-192657986.ts
@ghost
Copy link

@ghost ghost commented Nov 3, 2018

From CHrome DevTools the URLs of the manifest would be https://hlsvod-akrc.ams1.media.eurosportplayer.com/linear/program/2018/11/02/e57c2e89-da20-3b77-bba2-c1ad314fcedc/1200K/1200_complete.m3u8

Posting the HAR of the manifests and the key would help?

@remitamine
Copy link
Collaborator

@remitamine remitamine commented Nov 3, 2018

Posting the HAR of the manifests and the key would help?

no, it's not enough, but you can try to export cookies and pass them to youtube-dl with the manifest URL.

@ghost
Copy link

@ghost ghost commented Nov 13, 2018

I have managed to crack it down. My preliminary work is here. My main problem is how to find the URL of the master playlist file starting from the URL of the video. Actually the script requires you to find the URL of the master playlist file manually. For the rest we should be covered :) Hope someone get a chance to test it. Maybe we can then use my work to implement the feature in youtube-dl

@beta2k
Copy link
Author

@beta2k beta2k commented Dec 29, 2018

Any update on this?

@TheManchineel
Copy link

@TheManchineel TheManchineel commented Jan 30, 2019

EuroSport Player has no DRM, look at this open source client written in Python for Kodi, implementation should be trivial.

@TheManchineel
Copy link

@TheManchineel TheManchineel commented Jan 30, 2019

Looks like it's already done then, we just need to import eurosportplayer-dl code into youtube-dl lol

@ghost
Copy link

@ghost ghost commented Jan 30, 2019

As the author of eurosportplayer-dl (and user of youtube-dl!) I might be able to help with that?

@remitamine
Copy link
Collaborator

@remitamine remitamine commented Jan 30, 2019

we just need to import eurosportplayer-dl code into youtube-dl lol

no, this is not the way things are done in the project, the support has to be added directly in youtube-dl, no external dependencies.

@frederic1
Copy link

@frederic1 frederic1 commented Oct 20, 2019

Hello, I'm reopening this topic to ask for EurosportPlayer support. We are numerous to ask for it, it would be wonderful if the authors were able to implement it to their fantastic script.

@GTKSSR
Copy link

@GTKSSR GTKSSR commented Oct 20, 2019

Hello, I have the same request as frederic1. It would be great if you could add support for EurosportPlayer. Both Eurosportplayer-dl and youtube-dl don't work now with new player on Eurosportplayer.com.

@L4yer
Copy link

@L4yer L4yer commented Oct 21, 2019

i too would like to request support for eurosport player.

@ytdl-org ytdl-org locked and limited conversation to collaborators Oct 21, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
6 participants
You can’t perform that action at this time.