mirror of https://gitlab.com/bashrc2/epicyon
Item name
parent
54185bfb20
commit
ea107b0daf
|
@ -2234,7 +2234,7 @@ def get_buy_links(post_json_object: str, translate: {}, buy_sites: {}) -> {}:
|
||||||
if item.get('rel'):
|
if item.get('rel'):
|
||||||
if item['rel'] in ('payment', 'donate', 'donation',
|
if item['rel'] in ('payment', 'donate', 'donation',
|
||||||
'buy', 'purchase'):
|
'buy', 'purchase'):
|
||||||
links[site.title()] = item['href']
|
links[item_name] = item['href']
|
||||||
continue
|
continue
|
||||||
if buy_sites:
|
if buy_sites:
|
||||||
# limited to an allowlist of buying sites
|
# limited to an allowlist of buying sites
|
||||||
|
|
Loading…
Reference in New Issue