-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add rule set for Youtube to open inside Yattee App
- Loading branch information
1 parent
76d2a70
commit 7bdcb43
Showing
1 changed file
with
38 additions
and
0 deletions.
There are no files selected for viewing
38 changes: 38 additions & 0 deletions
38
docs/rules-in-library/10_youtube_open_in_yattee_app/rule-set.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
] | ||
} |