Skip to content

Commit

Permalink
Add rule set for Youtube to open inside Yattee App
Browse files Browse the repository at this point in the history
  • Loading branch information
lilaelephant authored Apr 7, 2024
1 parent 76d2a70 commit 7bdcb43
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions docs/rules-in-library/10_youtube_open_in_yattee_app/rule-set.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"bundleID" : "io.github.mshibanami.RedirectWebForSafari",
"kind" : "RedirectList",
"redirects" : [
{
"captureGroupProcesses" : [

],
"comments" : "",
"destinationURLPattern" : "yattee:\/\/watch?$1",
"exampleURLs" : [
"https:\/\/piped.video\/watch?v=asqxzaNGRWo",
"https:\/\/youtube.com\/watch?v=asqxzaNGRWo",
"https:\/\/m.youtube.com\/watch?v=asqxzaNGRWo",
"https:\/\/www.youtube.com\/watch?v=asqxzaNGRWo",
"https:\/\/youtube.de\/watch?v=asqxzaNGRWo",
"https:\/\/youtube-nocookie.com\/watch?v=asqxzaNGRWo",
"https:\/\/m.youtube.com\/watch?v=ZxYZkz20lYA&pp=ygUIdGVzdGluZyA%3D"
],
"excludeURLPatterns" : [
{
"type" : "wildcard",
"value" : "https:\/\/youtube.com"
},
{
"type" : "wildcard",
"value" : "https:\/\/www.youtube.com"
}
],
"kind" : "Redirect",
"sourceURLPattern" : {
"type" : "regularExpression",
"value" : "(?:https?:\\\/\\\/)?(?:[\\w.-]+)?(?:youtube\\.com|piped\\.video|youtube-nocookie\\.com|youtube\\.de)\\\/watch\\?(.*)"
},
"title" : "Youtube: Open in Yattee"
}
]
}

0 comments on commit 7bdcb43

Please sign in to comment.