Skip to content

Commit 6838e51

Browse files
committed
Added volume hash to bin/anthology
1 parent 24c0c95 commit 6838e51

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

bin/anthology/volumes.py

+4
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,10 @@ def pdf(self):
104104
return infer_url(url, template=data.PDF_LOCATION_TEMPLATE)
105105
return None
106106

107+
@cached_property
108+
def pdf_hash(self):
109+
return self.attrib.get("pdf_hash", None)
110+
107111
def _set_meta_info(self, meta_data):
108112
"""Derive journal title, volume, and issue no. used in metadata.
109113

0 commit comments

Comments
 (0)