Build pivot-ready purchase log

This commit is contained in:
ben
2026-03-16 18:01:09 -04:00
parent 6806c0e7ff
commit be1bf6328e
3 changed files with 494 additions and 0 deletions

View File

@@ -670,6 +670,13 @@ def main(
client_identifier=config["client_identifier"],
)
session = build_session(profile_dir, auth_headers)
click.echo(
"session bootstrap: "
f"cookies={True} "
f"authorization={bool(auth_headers.get('costco-x-authorization'))} "
f"client_id={bool(auth_headers.get('costco-x-wcs-clientId'))} "
f"client_identifier={bool(auth_headers.get('client-identifier'))}"
)
start_date, end_date = resolve_date_range(months_back)