fix link for spaces
This commit is contained in:
2
genfeed.py
Normal file → Executable file
2
genfeed.py
Normal file → Executable file
@@ -65,7 +65,7 @@ with open("episoden.html", "w") as f:
|
|||||||
# site entries
|
# site entries
|
||||||
for entry in weblist:
|
for entry in weblist:
|
||||||
stichtag, name, link, date = entry
|
stichtag, name, link, date = entry
|
||||||
f.write(f"ZeitZeichen vom {date[0]}.{date[1]}.{date[2]}<br>{stichtag}: {name}<br><audio controls><source src={link}) type=\"audio/mp3\"></audio><br><br>")
|
f.write(f"ZeitZeichen vom {date[0]}.{date[1]}.{date[2]}<br>{stichtag}: {name}<br><audio controls><source src=\"{link}\" type=\"audio/mp3\"></audio><br><br>\n")
|
||||||
|
|
||||||
# site footer
|
# site footer
|
||||||
f.write("""<br><br><a href=index.html>zurück</a></div><div class=foot><a href="https://dukun.de">dukun.de</a></div></body></html>""")
|
f.write("""<br><br><a href=index.html>zurück</a></div><div class=foot><a href="https://dukun.de">dukun.de</a></div></body></html>""")
|
||||||
|
|||||||
Reference in New Issue
Block a user