Extracts author comment with entry.get('arxiv_comment') rather than entry.get('comment').
Note: should write a new class of unit tests that use stored arXiv API results and confirm that field extraction works as expected; alternatively, can use known papers from the live API.
Testing
>>> import arxiv
>>> results = list(arxiv.Search("testing", max_results=1000).get())
__main__:1: DeprecationWarning: The 'get' method is deprecated, use 'results' instead
>>> [r.comment for r in results]
['8 pages', 'This is a technical report on Morphy software testing tool', None, 'Submitted on behalf of EDAA (http://www.edaa.com/)', ...]
Breaking changes
List any changes that break the API usage supported on master.
Description
Extracts author comment with
entry.get('arxiv_comment')
rather thanentry.get('comment')
.Note: should write a new class of unit tests that use stored arXiv API results and confirm that field extraction works as expected; alternatively, can use known papers from the live API.
Testing
Breaking changes
None.
Relevant issues
78
Checklist
README.md
example usage has been updated.