There are quite a few issues with the code quality that must be resolved:
datetime
objects, YYYY-MM-DD
strings, and integer date representations are inconsistent.weekly.py
. Don't request for a token and don't make any network requests if all file downloads have already been completed.tbll
look like to you?Commit eaa922639f10f78d7b0e524557eaeb75f69c90fd fixes most of this for
weekly.py
.
Date strings should not be passed around. Pass around "aware" datetime objects instead.