sort episodes in webplayer from new to old
This commit is contained in:
@@ -62,6 +62,9 @@ with open("episoden.html", "w") as f:
|
||||
<link rel="icon" type="image/vnd.microsoft.icon" href="favicon.ico"><meta name="robots" content="noindex,nofollow" /></head><body class=body>
|
||||
<div class=head></div><h3> </h3><div class=box><h2>ZanderZeichen: Webplayer</h2><a href=index.html>zurück</a><br><br>""")
|
||||
|
||||
# sort list
|
||||
weblist.sort(reverse=True, key=lambda x: f"{x[-1][2]:0>4d}-{x[-1][1]:0>2d}-{x[-1][0]:0>2d}")
|
||||
|
||||
# site entries
|
||||
for entry in weblist:
|
||||
stichtag, name, link, date = entry
|
||||
|
||||
Reference in New Issue
Block a user