1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-24 04:05:39 +01:00

svtplay: in find all, dont sort the already sorted list.

This commit is contained in:
Johan Andersson 2018-01-09 14:34:20 +01:00
parent 699412dc09
commit dca6e90a80

View File

@ -233,8 +233,8 @@ class Svtplay(Service, OpenGraphThumbMixin):
episodes = [urljoin("http://www.svtplay.se", x) for x in videos] episodes = [urljoin("http://www.svtplay.se", x) for x in videos]
if options.all_last > 0: if options.all_last > 0:
return sorted(episodes)[-options.all_last:] return episodes[-options.all_last:]
return sorted(episodes) return episodes
def videos_to_list(self, lvideos, videos): def videos_to_list(self, lvideos, videos):
for n in lvideos: for n in lvideos: