1
0
mirror of https://github.com/janeczku/calibre-web synced 2024-12-01 05:49:58 +00:00

add Litres references

This commit is contained in:
Alexander Yakovlev 2020-09-15 13:41:01 +07:00
parent d137735be1
commit 4e28c3cadb
No known key found for this signature in database
GPG Key ID: 1CDC4B7820C93BD3

View File

@ -142,6 +142,8 @@ class Identifiers(Base):
return u"https://www.kobo.com/ebook/{0}".format(self.val) return u"https://www.kobo.com/ebook/{0}".format(self.val)
elif format_type == "lubimyczytac": elif format_type == "lubimyczytac":
return u" https://lubimyczytac.pl/ksiazka/{0}".format(self.val) return u" https://lubimyczytac.pl/ksiazka/{0}".format(self.val)
elif format_type == "litres":
return u"https://www.litres.ru/{0}".format(self.val)
elif format_type == "url": elif format_type == "url":
return u"{0}".format(self.val) return u"{0}".format(self.val)
else: else: