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 c0f847b6b912a0740d7bef4b71ab77f207948bc4
parent b0e62c6dc22e2b7571e63649252b1b3ff91021cd
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date:   Mon, 29 Jul 2024 14:27:50 +0200

fix: only encode title and author name

Diffstat:
Myt.R | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/yt.R b/yt.R @@ -90,8 +90,8 @@ for (i in seq_along(channels)) { data <- do.call(rbind, video_dat) # encode text for ASCII compatibility -for (i in seq_along(data)) { - data[, i] <- textutils::HTMLencode(data[, i]) +for (var in c("author", "title")) { + data[, var] <- textutils::HTMLencode(data[, var]) } # edit data --------------------------------------------------------------------