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

Only download index files if they don't exist already in the cache directory #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jamesdunham
Copy link

Avoiding repeated downloads of index files is desirable in itself, but it also allows manually fixing the broken 2014 index file before attempting to load it into the database.

…rectory

Avoiding repeated downloads of index files is desirable in itself, but it also
allows manually fixing the [broken 2014 index file](https://github.com/jsfenfen/990-xml-reader/blob/master/2014_is_broken.md)
before attempting to load it into the database.
@jsfenfen
Copy link
Owner

Hi @jamesdunham thanks for this PR! This is a step in the right direction, do you think you could add a --force option that would force it to download no matter what? I can get to this eventually, too, btw, it's just that the main usage of this script is for current year updates.

@jamesdunham
Copy link
Author

Sure! Makes sense.

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

Successfully merging this pull request may close these issues.

2 participants