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 09f60a2ca07756b2a15be7938ca924e5fcc4e6db
parent 2b8e4cb4d81cc36845f3b607e7fbd65f97d4c6c0
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date:   Sat, 30 May 2026 21:44:05 +0200

fix: use correct object to filter shorts

Diffstat:
Mindex.php | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/index.php b/index.php @@ -155,7 +155,7 @@ foreach ($channel_xml["entry"] as $entry) { // Skip entry if it is a short - $uri = $video["link"]["@attributes"]["href"]; + $uri = $entry["link"]["@attributes"]["href"]; if (preg_match('/\/shorts\//', $uri) > 0) { continue; }