My YouTube redirect rule is a bit more complex, but works for all shorts, youtu.be and regular youtube links and it supports time stamps and videos that are part of a playlist.
remove the two “amp;” at the end (Lemmy formatting is bad, it replaces an ampersand with & even if you tell it not to…) and redirect to https://%yourinstanceofchoice%/watch?v=$1
Okay, what I was trying to do with Redirector is have it so I can search and browse videos on YouTube, but when I click on something that I want to watch, it forwards me to the same video on YewTu.be instead.
My YouTube redirect rule is a bit more complex, but works for all shorts, youtu.be and regular youtube links and it supports time stamps and videos that are part of a playlist.
Set the rule to regular expression, use this one
(?:https?:\/\/)?(?:www\.)?(?:youtube\.com\/(?:watch\?v=|shorts\/)|youtu\.be\/)([^&?\/]+[&?]?.*)
remove the two “amp;” at the end (Lemmy formatting is bad, it replaces an ampersand with
&
even if you tell it not to…) and redirect to https://%yourinstanceofchoice%/watch?v=$1Enjoy!
Okay, what I was trying to do with Redirector is have it so I can search and browse videos on YouTube, but when I click on something that I want to watch, it forwards me to the same video on YewTu.be instead.