home/jan/browser: change invidious host

This commit is contained in:
Dmitriy Pleshevskiy 2024-04-01 00:06:49 +03:00
parent 063ade0bc8
commit 725590ad8d
Signed by: pleshevskiy
GPG key ID: 17041163DA10A9A2
2 changed files with 126 additions and 109 deletions

View file

@ -36,12 +36,12 @@ define machine_rule
.PHONY: $(1) .PHONY: $(1)
$(1): ; $(1): ;
systemctl --user reset-failed systemctl --user reset-failed
sudo $$(NIX_RUN)switch/$(1) sudo nix run $(NIX_ARGS) .#switch/$(1)
endef endef
define vps_rule define vps_rule
.PHONY: $(1) .PHONY: $(1)
$(1): ; $$(NIX_RUN)deploy/$(1) $(1): ; nix run .#deploy/$(1)
endef endef
$(foreach machine,$(MACHINES),$(eval $(call machine_rule,$(machine)))) $(foreach machine,$(MACHINES),$(eval $(call machine_rule,$(machine))))

View file

@ -1,16 +1,16 @@
{ {
"createdBy": "Redirector v3.5.3", "createdBy": "Redirector v3.5.3",
"createdAt": "2024-03-19T12:51:41.662Z", "createdAt": "2024-03-31T20:54:38.657Z",
"redirects": [ "redirects": [
{ {
"description": "home youtube.com/youtu.be -> individous", "description": "home youtube.com/youtu.be -> invidious",
"exampleUrl": "https://www.youtube.com/", "exampleUrl": "https://www.youtube.com/",
"exampleResult": "https://yt.cdaut.de/", "exampleResult": "https://inv.oikei.net/",
"error": null, "error": null,
"includePattern": "https://(?:www\\.)?(youtube\\.com|youtu.be)/$", "includePattern": "https://(?:www\\.)?(youtube\\.com|youtu.be)/$",
"excludePattern": "", "excludePattern": "",
"patternDesc": "get home page ", "patternDesc": "get home page ",
"redirectUrl": "https://yt.cdaut.de/", "redirectUrl": "https://inv.oikei.net/",
"patternType": "R", "patternType": "R",
"processMatches": "noProcessing", "processMatches": "noProcessing",
"disabled": false, "disabled": false,
@ -20,14 +20,14 @@
] ]
}, },
{ {
"description": "youtu.be -> individous", "description": "youtu.be -> invidious",
"exampleUrl": "https://youtu.be/MYRBI-X5nfhI?si=sSoZBk9bB7NSEE8j", "exampleUrl": "https://youtu.be/MYRBI-X5nfhI?si=sSoZBk9bB7NSEE8j",
"exampleResult": "https://yt.cdaut.de/watch?v=MYRBI-X5nfhI", "exampleResult": "https://inv.oikei.net/watch?v=MYRBI-X5nfhI",
"error": null, "error": null,
"includePattern": "https://youtu.be/([\\w-]+)(\\?.*)?", "includePattern": "https://youtu.be/([\\w-]+)(\\?.*)?",
"excludePattern": "", "excludePattern": "",
"patternDesc": "get video id from url", "patternDesc": "get video id from url",
"redirectUrl": "https://yt.cdaut.de/watch?v=$1", "redirectUrl": "https://inv.oikei.net/watch?v=$1",
"patternType": "R", "patternType": "R",
"processMatches": "noProcessing", "processMatches": "noProcessing",
"disabled": false, "disabled": false,
@ -37,14 +37,14 @@
] ]
}, },
{ {
"description": "youtube.com -> individous", "description": "youtube.com -> invidious",
"exampleUrl": "https://www.youtube.com/watch?v=jQ-KdWyzKfE", "exampleUrl": "https://www.youtube.com/watch?v=jQ-KdWyzKfE",
"exampleResult": "https://yt.cdaut.de/watch?v=jQ-KdWyzKfE", "exampleResult": "https://inv.oikei.net/watch?v=jQ-KdWyzKfE",
"error": null, "error": null,
"includePattern": "https://(?:www\\.)?youtube\\.com/watch\\?v=([\\w-]+)(&.*)?", "includePattern": "https://(?:www\\.)?youtube\\.com/watch\\?v=([\\w-]+)(&.*)?",
"excludePattern": "", "excludePattern": "",
"patternDesc": "get video id from url", "patternDesc": "get video id from url",
"redirectUrl": "https://yt.cdaut.de/watch?v=$1", "redirectUrl": "https://inv.oikei.net/watch?v=$1",
"patternType": "R", "patternType": "R",
"processMatches": "noProcessing", "processMatches": "noProcessing",
"disabled": false, "disabled": false,
@ -54,14 +54,14 @@
] ]
}, },
{ {
"description": "youtube.com/shorts -> individous", "description": "youtube.com/shorts -> invidious",
"exampleUrl": "https://www.youtube.com/shorts/jQkhyLSqlLg", "exampleUrl": "https://www.youtube.com/shorts/jQkhyLSqlLg",
"exampleResult": "https://yt.cdaut.de/watch?v=jQkhyLSqlLg", "exampleResult": "https://inv.oikei.net/watch?v=jQkhyLSqlLg",
"error": null, "error": null,
"includePattern": "https://(?:www\\.)?youtube\\.com/shorts/([\\w-]+)(&.*)?", "includePattern": "https://(?:www\\.)?youtube\\.com/shorts/([\\w-]+)(&.*)?",
"excludePattern": "", "excludePattern": "",
"patternDesc": "get video id from url", "patternDesc": "get video id from url",
"redirectUrl": "https://yt.cdaut.de/watch?v=$1", "redirectUrl": "https://inv.oikei.net/watch?v=$1",
"patternType": "R", "patternType": "R",
"processMatches": "noProcessing", "processMatches": "noProcessing",
"disabled": false, "disabled": false,
@ -71,14 +71,14 @@
] ]
}, },
{ {
"description": "youtube.com/live -> individous", "description": "youtube.com/live -> invidious",
"exampleUrl": "https://www.youtube.com/live/jQ-KdWyzKfE", "exampleUrl": "https://www.youtube.com/live/jQ-KdWyzKfE",
"exampleResult": "https://yt.cdaut.de/watch?v=jQ-KdWyzKfE", "exampleResult": "https://inv.oikei.net/watch?v=jQ-KdWyzKfE",
"error": null, "error": null,
"includePattern": "https://(?:www\\.)?youtube\\.com/live/([\\w-]+)(\\?.*)?", "includePattern": "https://(?:www\\.)?youtube\\.com/live/([\\w-]+)(\\?.*)?",
"excludePattern": "", "excludePattern": "",
"patternDesc": "get video id from url", "patternDesc": "get video id from url",
"redirectUrl": "https://yt.cdaut.de/watch?v=$1", "redirectUrl": "https://inv.oikei.net/watch?v=$1",
"patternType": "R", "patternType": "R",
"processMatches": "noProcessing", "processMatches": "noProcessing",
"disabled": false, "disabled": false,
@ -88,14 +88,14 @@
] ]
}, },
{ {
"description": "youtube.com/channel -> individous", "description": "youtube.com/channel -> invidious",
"exampleUrl": "https://www.youtube.com/@KdWyzKfE", "exampleUrl": "https://www.youtube.com/@KdWyzKfE",
"exampleResult": "https://yt.cdaut.de/@KdWyzKfE", "exampleResult": "https://inv.oikei.net/@KdWyzKfE",
"error": null, "error": null,
"includePattern": "https://(?:www\\.)?youtube\\.com/(@[\\w-]+)(\\?.*)?", "includePattern": "https://(?:www\\.)?youtube\\.com/(@[\\w-]+)(\\?.*)?",
"excludePattern": "", "excludePattern": "",
"patternDesc": "get channel name from url", "patternDesc": "get channel name from url",
"redirectUrl": "https://yt.cdaut.de/$1", "redirectUrl": "https://inv.oikei.net/$1",
"patternType": "R", "patternType": "R",
"processMatches": "noProcessing", "processMatches": "noProcessing",
"disabled": false, "disabled": false,
@ -103,6 +103,23 @@
"appliesTo": [ "appliesTo": [
"main_frame" "main_frame"
] ]
},
{
"description": "indivious (old -> current)",
"exampleUrl": "https://yt.cdaut.de/watch?v=jUnhS74uicE",
"exampleResult": "https://inv.oikei.net/watch?v=jUnhS74uicE",
"error": null,
"includePattern": "https://yt.cdaut.de/*",
"excludePattern": "",
"patternDesc": "Redirect from old instances",
"redirectUrl": "https://inv.oikei.net/$1",
"patternType": "W",
"processMatches": "noProcessing",
"disabled": false,
"grouped": false,
"appliesTo": [
"main_frame"
]
} }
] ]
} }