Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crossref API is metadata-only, so print warning to users that query with --pdf/xml/supp #144

Open
rossmounce opened this issue Dec 6, 2016 · 0 comments

Comments

@rossmounce
Copy link
Member

I know it is mentioned at the top of the repo that the Crossref API is metadata only but even so, it would be nice to print a warning message to users that persist in trying to query that API for pdf/xml/supp

e.g. "--pdf was ignored, the Crossref API returns metadata only"

As it currently is "info: Downloading fulltext PDF files" is a little misleading...

getpapers --api crossref -o cr-res --filter "type:journal-article,prefix:10.7554,from-pub-date:2016-01-01,until-pub-date:2016-02-01" --pdf
info: Searching using crossref API
info: Found 84 results
info: Saving result metadata
info: Full CrossRef result metadata written to crossref_results.json
info: Individual CrossRef result metadata records written
info: Downloading fulltext PDF files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant