1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-27 13:44:14 +01:00

tv4play: Fix download order

This commit is contained in:
Mikael Larsson 2024-01-08 19:43:01 +01:00
parent 25f734fa43
commit 6f01c964fa

View File

@ -133,10 +133,10 @@ class Tv4play(Service, OpenGraphThumbMixin):
if i not in items: if i not in items:
items.append(i) items.append(i)
items = sorted(items)
for item in items: for item in items:
episodes.append(f"https://www.tv4play.se/video/{item}") episodes.append(f"https://www.tv4play.se/video/{item}")
episodes = episodes[::-1]
if config.get("all_last") > 0: if config.get("all_last") > 0:
return episodes[: config.get("all_last")] return episodes[: config.get("all_last")]
if not episodes: if not episodes: