forked from mirrors/bookwyrm
Adds bookwyrm connector to default database config
This commit is contained in:
parent
917c97daba
commit
efabe22615
1 changed files with 11 additions and 0 deletions
11
init_db.py
11
init_db.py
|
@ -68,6 +68,17 @@ Connector.objects.create(
|
||||||
priority=1,
|
priority=1,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Connector.objects.create(
|
||||||
|
identifier='bookwyrm.social',
|
||||||
|
name='BookWyrm dot Social',
|
||||||
|
connector_file='bookwyrm_connector',
|
||||||
|
base_url='https://bookwyrm.social' ,
|
||||||
|
books_url='https://bookwyrm.social/book',
|
||||||
|
covers_url='https://bookwyrm.social/images/covers',
|
||||||
|
search_url='https://bookwyrm.social/search?q=',
|
||||||
|
priority=2,
|
||||||
|
)
|
||||||
|
|
||||||
Connector.objects.create(
|
Connector.objects.create(
|
||||||
identifier='openlibrary.org',
|
identifier='openlibrary.org',
|
||||||
name='OpenLibrary',
|
name='OpenLibrary',
|
||||||
|
|
Loading…
Reference in a new issue