mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-30 15:14:14 +01:00
tv4play: make all-last great again
This commit is contained in:
parent
b8949ff077
commit
25f734fa43
@ -138,7 +138,7 @@ class Tv4play(Service, OpenGraphThumbMixin):
|
|||||||
episodes.append(f"https://www.tv4play.se/video/{item}")
|
episodes.append(f"https://www.tv4play.se/video/{item}")
|
||||||
|
|
||||||
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:
|
||||||
logging.warning("Can't find any videos")
|
logging.warning("Can't find any videos")
|
||||||
return episodes
|
return episodes
|
||||||
|
Loading…
Reference in New Issue
Block a user