better magnet links
Bi-Rabittoh andronacomarco@gmail.com
Sat, 26 Aug 2023 14:43:02 +0200
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
main.py
→
main.py
@@ -38,7 +38,7 @@ 35: "Podcast",
36: "Edicola", 37: "Mobile" } -MAGNET_STR = '<button onclick=\"location.href=\'magnet:?xt=urn:btih:{}\'\" class="btn btn-danger">n</button>' +MAGNET_STR = '<a href="magnet:?xt=urn:btih:{}" class="btn btn-danger">m</a>' def handle_content(content: str): return { x: content[idx] for idx, x in enumerate(HEADER) }