mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-23 19:55:38 +01:00
tv4play: Fix download order
This commit is contained in:
parent
25f734fa43
commit
6f01c964fa
@ -133,10 +133,10 @@ class Tv4play(Service, OpenGraphThumbMixin):
|
||||
if i not in items:
|
||||
items.append(i)
|
||||
|
||||
items = sorted(items)
|
||||
for item in items:
|
||||
episodes.append(f"https://www.tv4play.se/video/{item}")
|
||||
|
||||
episodes = episodes[::-1]
|
||||
if config.get("all_last") > 0:
|
||||
return episodes[: config.get("all_last")]
|
||||
if not episodes:
|
||||
|
Loading…
Reference in New Issue
Block a user