Tishacy / SciDownl

An unofficial api for downloading papers from SciHub via DOI, PMID, title
MIT License
206 stars 43 forks source link

Set default file location and naming conventions #31

Open buzuddha opened 6 days ago

buzuddha commented 6 days ago

I would like to use SciDownl such that omitting -o defaults to a folder I've specified in a config files somewhere. Likewise, I'd like to set the default file naming convention to be YYYY Auth Journal.pdf when no -o argument is set.

Can this default behavior be set anywhere in config files?

i.e.

$ scidownl download --doi 10.1002/ΧΧΧ-ΧΧΧ will default to output /default/path/set/in/config/YYYY Author Journal.pdf

rather than having to specify each time:

$ scidownl download --doi 10.1002/ΧΧΧ-ΧΧΧ -o /default/path/set/in/config/YYYY Author Journal.pdf