Add ISFDB

pull/1616/head
Alexander Yakovlev 4 years ago
parent ec4ff83465
commit 4eded82102
No known key found for this signature in database
GPG Key ID: 1CDC4B7820C93BD3

@ -121,6 +121,8 @@ class Identifiers(Base):
return u"ЛитРес"
elif format_type == "issn":
return u"ISSN"
elif format_type == "isfdb":
return u"ISFDB"
if format_type == "lubimyczytac":
return u"Lubimyczytac"
else:
@ -150,6 +152,8 @@ class Identifiers(Base):
return u"https://www.litres.ru/{0}".format(self.val)
elif format_type == "issn":
return u"https://portal.issn.org/resource/ISSN/{0}".format(self.val)
elif format_type == "isfdb":
return u"http://www.isfdb.org/cgi-bin/pl.cgi?{0}".format(self.val)
elif format_type == "url":
return u"{0}".format(self.val)
else:

Loading…
Cancel
Save