From 4f3ae7ca61cc5020dae6dfc4b9b76effc5578447 Mon Sep 17 00:00:00 2001 From: ashley Date: Thu, 8 Aug 2024 22:32:05 +0000 Subject: [PATCH] add threads :3 --- src/libpoketube/init/pages-video.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/libpoketube/init/pages-video.js b/src/libpoketube/init/pages-video.js index 07545c7..2890f67 100644 --- a/src/libpoketube/init/pages-video.js +++ b/src/libpoketube/init/pages-video.js @@ -247,7 +247,10 @@ module.exports = function (app, config, renderTemplate) { const discord = extractInfo(CORD_REGEX); const twitch = extractInfo(TWITCH_REGEX); const reddit = extractInfo(REDDIT_REGEX); + + /* meta software */ const instagram = extractInfo(INSTAGRAM_REGEX); + const threads_by_instagram = extractInfo(THREADS_BY_INSTAGRAM_REGEX); const videoObject = inv_vid?.adaptiveFormats; function findItag(adaptiveFormats) { @@ -348,6 +351,7 @@ module.exports = function (app, config, renderTemplate) { isMobile: req.useragent.isMobile, tj: data.channel, r, + threads:threads_by_instagram, qua: q, inv: inv_comments, convert,