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)
$(1): ;
systemctl --user reset-failed
sudo $$(NIX_RUN)switch/$(1)
sudo nix run $(NIX_ARGS) .#switch/$(1)
endef
define vps_rule
.PHONY: $(1)
$(1): ; $$(NIX_RUN)deploy/$(1)
$(1): ; nix run .#deploy/$(1)
endef
$(foreach machine,$(MACHINES),$(eval $(call machine_rule,$(machine))))

View file

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