aajanki / yle-dl

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

Loading an episode activates loading of all episodes #318

Closed EliasA closed 2 years ago

EliasA commented 2 years ago

Using latest version of yle-dl the behaviour has changed. If I give the URL of the episode of a series I wish to download, yle-dl downloads all episodes of the series and in some cases all episodes of all seasons.

This apparently is because of changes in Areena. Can someone else verify this behaviour and is there something we could do to fix this?

I am happy to help even though I am not familiar with how Areena works in detail.

aajanki commented 2 years ago

If you give the URL of a series page (a page that lists all episodes and seasons of a series, for example https://areena.yle.fi/1-60954349 ), then yle-dl downloads all episodes. If you give the URL of an individual episode (for example https://areena.yle.fi/1-50836096 ), then yle-dl should download only that episode.

It is possible that yle-dl sometimes misdetects the page type. Can you post a sample URL where yle-dl is downloading all episodes when you expected only one episode?

EliasA commented 2 years ago

This seems to have been a temporary situation. I tested this with two different URLs that resulted in behaviour I described.

The first one one was https://areena.yle.fi/1-62142382 and the second one https://areena.yle.fi/1-4402920

Now yle-dl downloads only one episode. Otherwise I would say I have mistakenly used the URL of the landing page of a series but I really followed the progress of the download and saw episode 1 of season 1 being downloaded after episode 1 of season 2 (first example).

My guess is that Yle did something and now they have changed the way things were.

aajanki commented 2 years ago

Areena has weird temporary glitches occasionally. Because everything seems to be working as expected now, I will mark this issue as closed.