mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
add Lemmy accounts from wikidata search
This commit is contained in:
parent
0c4c8e346e
commit
927312d894
2 changed files with 9 additions and 0 deletions
|
@ -41,6 +41,13 @@
|
||||||
"default": "https://fedirect.toolforge.org/?id=$1"
|
"default": "https://fedirect.toolforge.org/?id=$1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"lemmy_profile": {
|
||||||
|
"category_name": "Lemmy",
|
||||||
|
"url_name": "Lemmy profile",
|
||||||
|
"urls": {
|
||||||
|
"default": "https://fedirect.toolforge.org/?id=$1"
|
||||||
|
}
|
||||||
|
},
|
||||||
"peertube_profile": {
|
"peertube_profile": {
|
||||||
"category_name": "Peertube",
|
"category_name": "Peertube",
|
||||||
"url_name": "Peertube profile",
|
"url_name": "Peertube profile",
|
||||||
|
|
|
@ -61,6 +61,7 @@ WIKIDATA_PROPERTIES = {
|
||||||
'P2013': 'Facebook',
|
'P2013': 'Facebook',
|
||||||
'P2003': 'Instagram',
|
'P2003': 'Instagram',
|
||||||
'P4033': 'Mastodon',
|
'P4033': 'Mastodon',
|
||||||
|
'P11947': 'Lemmy',
|
||||||
'P12622': 'PeerTube',
|
'P12622': 'PeerTube',
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -478,6 +479,7 @@ def get_attributes(language):
|
||||||
add_url('P2013', url_id='facebook_profile')
|
add_url('P2013', url_id='facebook_profile')
|
||||||
add_url('P2003', url_id='instagram_profile')
|
add_url('P2003', url_id='instagram_profile')
|
||||||
add_url('P4033', url_id='mastodon_profile')
|
add_url('P4033', url_id='mastodon_profile')
|
||||||
|
add_url('P11947', url_id='lemmy_profile')
|
||||||
add_url('P12622', url_id='peertube_profile')
|
add_url('P12622', url_id='peertube_profile')
|
||||||
|
|
||||||
# Map
|
# Map
|
||||||
|
|
Loading…
Add table
Reference in a new issue