Skip to content

Commit

Permalink
Merge pull request #30 from puzzlemoondev/materialious
Browse files Browse the repository at this point in the history
Add materialious instances
  • Loading branch information
ManeraKai authored Jul 1, 2024
2 parents 1cda83d + 4d7f99c commit f9629d4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
6 changes: 6 additions & 0 deletions instances.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down Expand Up @@ -662,6 +667,7 @@ def isValid(url): # This code is contributed by avanitrachhadiya2155


invidious()
materialious()
piped()
pipedMaterial()
cloudtube()
Expand Down

0 comments on commit f9629d4

Please sign in to comment.