Example #1
0
 def getAnnotation(self):
     return first_or_none(ANNOTATION, self._tree)
Example #2
0
 def getCover(self):
     return first_or_none(COVER, self._tree)
Example #3
0
 def getTitle(self, original=False):
     return first_or_none(ORIGINAL_TITLE if original else BOOK_TITLE, self._tree, attrgetter('text'))