mirror of https://gitlab.com/bashrc2/epicyon
Extra donation string
parent
d34f7a149b
commit
13049c095c
|
@ -16,7 +16,8 @@ from utils import remove_link_tracking
|
|||
def _get_donation_types() -> []:
|
||||
return ('patreon', 'paypal', 'gofundme', 'liberapay',
|
||||
'kickstarter', 'indiegogo', 'crowdsupply',
|
||||
'subscribestar', 'kofi', 'ko-fi', 'fundly', 'crowdrise',
|
||||
'subscribestar', 'kofi', 'ko-fi',
|
||||
'fundly', 'crowdrise',
|
||||
'justgiving', 'globalgiving', 'givedirectly',
|
||||
'fundrazr', 'kiva', 'thebiggive', 'donorbox',
|
||||
'opencollective', 'buymeacoffee', 'flattr',
|
||||
|
@ -50,6 +51,7 @@ def get_donation_url(actor_json: {}) -> str:
|
|||
name_value_lower = name_value.lower()
|
||||
if name_value_lower not in donation_type:
|
||||
if 'support' not in name_value_lower:
|
||||
if 'buy me ' not in name_value_lower:
|
||||
continue
|
||||
if not property_value.get('type'):
|
||||
continue
|
||||
|
|
Loading…
Reference in New Issue