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

Authenticating via Yle Tunnus #237

Open
codeclown opened this issue Apr 28, 2020 · 2 comments
Open

Authenticating via Yle Tunnus #237

codeclown opened this issue Apr 28, 2020 · 2 comments

Comments

@codeclown
Copy link

Since last year (?) Yle has made it possible to watch Areena-videos from abroad as long as you're inside the EU, due to related EU legislation if I recall correctly.

But this requires logging in to an Yle Tunnus -account that has been verified to be Finnish.

I've set up this authorization on my account, and tried to find a way to download a video that requires this type of authentication, but wasn't able to make it happen. I found in the changelog that there have been arguments like --ylePassi and --auth back in 2014, but they are not present anymore.

I also noticed that AdobeHDS.php refers to and reads a file called Cookie.txt. I had no luck adding such a file with my areena.yle.fi cookie contents to the working directory while running yle-dl.

Does yle-dl include some way to utilize this type of authentication?

@koutsie
Copy link

koutsie commented Sep 22, 2021

This would be an nice addition so aboard you wouldn't need to use a finnish proxy :)

@aajanki
Copy link
Owner

aajanki commented Sep 23, 2021

Yle tunnus is not currently supported. However, the latests versions (since version 20210808) should anyway be able to download most geo-blocked streams abroad. Yle-dl uses a fake source address to convince Yle Areena servers that the user is in Finland. This trick does not work on all program, at least live TV is still viewable only in Finland.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants