pub / yt2html

Fetches Youtube content via RSS and provides a chronological timeline
git clone https://src.jayvii.de/pub/yt2html.git
Home | Log | Files | Exports | Refs | README | RSS

commit d0971e3733145fa2efdfcf37ffae102ac44f7031
parent b54e842be25efafb983936a4ce25e0e97c1df1aa
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date:   Mon, 29 Jul 2024 14:51:40 +0200

fix: set correct object id

Diffstat:
Myt.R | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/yt.R b/yt.R @@ -131,7 +131,7 @@ for (chan in seq_along(channel_id)) { "</h2>", "<div class=\"thumbnails\">", "<img src=\"", data[entries, "img"], "\"", - " id=\"thumbnail_", entries, "\" loading=\"lazy\"", + " id=\"thumbnail_", seq_along(entries), "\" loading=\"lazy\"", " onclick=embed_yt(\"", seq_along(entries), "\",\"", data[entries, "vid"], "\")",