mirror of https://gitlab.com/bashrc2/epicyon
Clean up donation url
parent
34e8453fd5
commit
b83d07bbac
|
@ -70,6 +70,9 @@ def get_donation_url(actor_json: {}) -> str:
|
|||
return remove_link_tracking(donate_url)
|
||||
else:
|
||||
donate_url = remove_html(property_value[prop_value_name])
|
||||
if ' ' in donate_url:
|
||||
donate_url = donate_url.split(' ')[0]
|
||||
if '://' in donate_url:
|
||||
return remove_link_tracking(donate_url)
|
||||
return ''
|
||||
|
||||
|
|
Loading…
Reference in New Issue