Skip to content

Commit

Permalink
Added volume hash to bin/anthology
Browse files Browse the repository at this point in the history
  • Loading branch information
xinru1414 committed Mar 21, 2022
1 parent a6ff39c commit 6765599
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bin/anthology/volumes.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,10 @@ def pdf(self):
return infer_url(url, template=data.PDF_LOCATION_TEMPLATE)
return None

@cached_property
def pdf_hash(self):
return self.attrib.get("pdf_hash", None)

def _set_meta_info(self, meta_data):
"""Derive journal title, volume, and issue no. used in metadata.
Expand Down

0 comments on commit 6765599

Please sign in to comment.