mirror of
https://github.com/janeczku/calibre-web
synced 2024-11-30 21:40:00 +00:00
Add support for barnesnoble identifier
This commit is contained in:
parent
6f60ec7b99
commit
ad05534ed2
@ -128,6 +128,8 @@ class Identifiers(Base):
|
|||||||
return "Google Books"
|
return "Google Books"
|
||||||
elif format_type == "kobo":
|
elif format_type == "kobo":
|
||||||
return "Kobo"
|
return "Kobo"
|
||||||
|
elif format_type == "barnesnoble":
|
||||||
|
return "Barnes & Noble"
|
||||||
elif format_type == "litres":
|
elif format_type == "litres":
|
||||||
return "ЛитРес"
|
return "ЛитРес"
|
||||||
elif format_type == "issn":
|
elif format_type == "issn":
|
||||||
@ -161,6 +163,8 @@ class Identifiers(Base):
|
|||||||
return "https://books.google.com/books?id={0}".format(self.val)
|
return "https://books.google.com/books?id={0}".format(self.val)
|
||||||
elif format_type == "kobo":
|
elif format_type == "kobo":
|
||||||
return "https://www.kobo.com/ebook/{0}".format(self.val)
|
return "https://www.kobo.com/ebook/{0}".format(self.val)
|
||||||
|
elif format_type == "barnesnoble":
|
||||||
|
return "https://www.barnesandnoble.com/w/{0}".format(self.val)
|
||||||
elif format_type == "lubimyczytac":
|
elif format_type == "lubimyczytac":
|
||||||
return "https://lubimyczytac.pl/ksiazka/{0}/ksiazka".format(self.val)
|
return "https://lubimyczytac.pl/ksiazka/{0}/ksiazka".format(self.val)
|
||||||
elif format_type == "litres":
|
elif format_type == "litres":
|
||||||
|
Loading…
Reference in New Issue
Block a user