diff --git a/src/libpoketube/init/pages-video.js b/src/libpoketube/init/pages-video.js index bcf1156f..222f9811 100644 --- a/src/libpoketube/init/pages-video.js +++ b/src/libpoketube/init/pages-video.js @@ -168,7 +168,13 @@ const X_REGEX = /https:\/\/twitter.com\/(?[\w\d_-]+)/; const CORD_REGEX = /https:\/\/discord.gg\/(?[\w\d_-]+)/; const TWITCH_REGEX = /https:\/\/twitch.tv\/(?[\w\d_-]+)/; const REDDIT_REGEX = /https:\/\/reddit\.com\/r\/(?[\w\d_-]+)/; + +/* meta software */ const INSTAGRAM_REGEX = /https:\/\/www.instagram.com\/(?[\w\d_-]+)/; +const THREADS_BY_INSTAGRAM_REGEX = /https:\/\/www.threads.net\/(?[\w\d_-]+)/; +const FACEBOOK_REGEX = /https:\/\/www.facebook.com\/(?[\w\d_-]+)/; + +/* music */ const LNKTO_REGEX = /https:\/\/(?\w+).lnk.to\/(?\S*)/; module.exports = function (app, config, renderTemplate) {