Closed codykingham closed 3 years ago
When retrieving a webpage item where format='biblatex', the retrieval returns a blank dictionary with the warning:
format='biblatex'
Entry type online not standard. Not considered.
Minimum example:
alpha_go = zot.items(q='alphago 2021', format='biblatex')
The warning comes from inside bibtexparser, which does not yet support the @online field: https://github.com/sciunto-org/python-bibtexparser/issues/143
@online
A work around might be to set ignore_nonstandard_types=False when format is biblatex in this line: https://github.com/urschrei/pyzotero/blob/94eeee07b75b399b1ecd9cf8a498264d5f8f8083/pyzotero/zotero.py#L265
ignore_nonstandard_types=False
Released to PyPI as 1.4.21. Thanks for the suggested fix!
Thank you!
When retrieving a webpage item where
format='biblatex'
, the retrieval returns a blank dictionary with the warning:Entry type online not standard. Not considered.
Minimum example:
The warning comes from inside bibtexparser, which does not yet support the
@online
field: https://github.com/sciunto-org/python-bibtexparser/issues/143A work around might be to set
ignore_nonstandard_types=False
when format is biblatex in this line: https://github.com/urschrei/pyzotero/blob/94eeee07b75b399b1ecd9cf8a498264d5f8f8083/pyzotero/zotero.py#L265