mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-28 19:10:35 +00:00
Adds inventaire to default connector list
This commit is contained in:
parent
f21aca1211
commit
ac27111f05
1 changed files with 12 additions and 0 deletions
|
@ -94,6 +94,18 @@ def init_connectors():
|
||||||
priority=2,
|
priority=2,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Connector.objects.create(
|
||||||
|
identifier="inventaire.io",
|
||||||
|
name="Inventaire",
|
||||||
|
connector_file="inventaire",
|
||||||
|
base_url="https://inventaire.io/entity/",
|
||||||
|
books_url="https://inventaire.io/api/entities",
|
||||||
|
covers_url="https://inventaire.io",
|
||||||
|
search_url="https://inventaire.io/api/search?types=works&types=works&search=",
|
||||||
|
isbn_search_url="https://inventaire.io/api/entities?action=by-uris&uris=isbn%3A",
|
||||||
|
priority=3,
|
||||||
|
)
|
||||||
|
|
||||||
Connector.objects.create(
|
Connector.objects.create(
|
||||||
identifier="openlibrary.org",
|
identifier="openlibrary.org",
|
||||||
name="OpenLibrary",
|
name="OpenLibrary",
|
||||||
|
|
Loading…
Reference in a new issue