add threads :3

This commit is contained in:
ashley 2024-08-08 22:32:05 +00:00
parent b2d5f7ef05
commit 4f3ae7ca61

View file

@ -247,7 +247,10 @@ module.exports = function (app, config, renderTemplate) {
const discord = extractInfo(CORD_REGEX); const discord = extractInfo(CORD_REGEX);
const twitch = extractInfo(TWITCH_REGEX); const twitch = extractInfo(TWITCH_REGEX);
const reddit = extractInfo(REDDIT_REGEX); const reddit = extractInfo(REDDIT_REGEX);
/* meta software */
const instagram = extractInfo(INSTAGRAM_REGEX); const instagram = extractInfo(INSTAGRAM_REGEX);
const threads_by_instagram = extractInfo(THREADS_BY_INSTAGRAM_REGEX);
const videoObject = inv_vid?.adaptiveFormats; const videoObject = inv_vid?.adaptiveFormats;
function findItag(adaptiveFormats) { function findItag(adaptiveFormats) {
@ -348,6 +351,7 @@ module.exports = function (app, config, renderTemplate) {
isMobile: req.useragent.isMobile, isMobile: req.useragent.isMobile,
tj: data.channel, tj: data.channel,
r, r,
threads:threads_by_instagram,
qua: q, qua: q,
inv: inv_comments, inv: inv_comments,
convert, convert,