Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
retribute.me
api
Commits
d5fdd6ea
Commit
d5fdd6ea
authored
Jun 16, 2021
by
Agate
💬
Browse files
Support for utip
parent
5d87cd28
Changes
2
Hide whitespace changes
Inline
Side-by-side
retribute_api/providers.py
View file @
d5fdd6ea
...
...
@@ -113,6 +113,15 @@ class KoFi(BasicUsernameInPathProvider):
domain_regex
=
r
"^(\w+\.)*ko-fi\.com"
@
registry
.
register
class
UTip
(
BasicUsernameInPathProvider
):
id
=
"utip"
additional_ids
=
[
"u-tip"
]
label
=
"uTip"
url
=
"https://utip.io"
domain_regex
=
r
"^(\w+\.)*utip\.io"
@
registry
.
register
class
OpenCollective
(
BasicUsernameInPathProvider
):
id
=
"opencollective"
...
...
tests/search/test_means.py
View file @
d5fdd6ea
...
...
@@ -13,6 +13,7 @@ from retribute_api.search import means
(
"https://paypal.me/username"
,
{
"provider"
:
"paypal"
,
"id"
:
"username"
}),
(
"https://www.paypal.me/username"
,
{
"provider"
:
"paypal"
,
"id"
:
"username"
}),
(
"https://fr.tipeee.com/username"
,
{
"provider"
:
"tipeee"
,
"id"
:
"username"
}),
(
"https://utip.io/username"
,
{
"provider"
:
"utip"
,
"id"
:
"username"
}),
(
"https://www.etsy.com/fr_CA/shop/xxPETRICHORxx"
,
{
"provider"
:
"etsy"
,
"id"
:
"xxPETRICHORxx"
},
...
...
Georg Krause
@georgkrause
mentioned in merge request
!1 (closed)
·
Feb 06, 2022
mentioned in merge request
!1 (closed)
mentioned in merge request !1
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment