Merge pull request #30 from puzzlemoondev/materialious

Add materialious instances
This commit is contained in:
ManeraKai
2024-07-01 09:02:23 +03:00
committed by GitHub
2 changed files with 7 additions and 0 deletions
+1
View File
@@ -2,6 +2,7 @@
## Sources:
- Invidious: [https://api.invidious.io](https://api.invidious.io/)
- Materialious [https://github.com/Materialious/Materialious/blob/main/docs/INSTANCES.md](https://github.com/Materialious/Materialious/blob/main/docs/INSTANCES.md)
- Piped: [https://github.com/TeamPiped/Piped/wiki/Instances](https://github.com/TeamPiped/Piped/wiki/Instances)
- Piped-Material: [https://github.com/mmjee/Piped-Material#links](https://github.com/mmjee/Piped-Material#links)
- Hyperpipe: [https://codeberg.org/Hyperpipe/pages/src/branch/main/api/frontend.json](https://codeberg.org/Hyperpipe/pages/src/branch/main/api/frontend.json)
+6
View File
@@ -277,6 +277,11 @@ def piped():
logging.error(traceback.format_exc())
def materialious():
fetchRegexList('materialious', 'https://raw.githubusercontent.com/Materialious/Materialious/main/docs/INSTANCES.md',
r"- \[.*\]\((https?:\/{2}(?:[^\s\/]+\.)+[a-zA-Z0-9]+)\/?\)")
def pipedMaterial():
fetchRegexList('pipedMaterial', 'https://raw.githubusercontent.com/mmjee/Piped-Material/master/README.md',
r"\| (https?:\/{2}(?:\S+\.)+[a-zA-Z0-9]*) +\| Production")
@@ -662,6 +667,7 @@ def isValid(url): # This code is contributed by avanitrachhadiya2155
invidious()
materialious()
piped()
pipedMaterial()
cloudtube()