mirror of
https://github.com/janeczku/calibre-web
synced 2024-11-28 12:30:00 +00:00
added identifier for Douban
This commit is contained in:
parent
6d99b9bc25
commit
6fcd65b4ce
@ -110,6 +110,8 @@ class Identifiers(Base):
|
|||||||
return u"http://dx.doi.org/{0}".format(self.val)
|
return u"http://dx.doi.org/{0}".format(self.val)
|
||||||
elif self.type == "goodreads":
|
elif self.type == "goodreads":
|
||||||
return u"http://www.goodreads.com/book/show/{0}".format(self.val)
|
return u"http://www.goodreads.com/book/show/{0}".format(self.val)
|
||||||
|
elif self.type == "douban":
|
||||||
|
return u"https://book.douban.com/subject/{0}".format(self.val)
|
||||||
else:
|
else:
|
||||||
return u""
|
return u""
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user