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

last_days command seems to have no effect #40

Closed
V0xxel opened this issue Jun 21, 2023 · 4 comments
Closed

last_days command seems to have no effect #40

V0xxel opened this issue Jun 21, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@V0xxel
Copy link

V0xxel commented Jun 21, 2023

Since I'm always getting a "BAD_REQUEST" error from the platform when executing dl_docs, I tried to limit the download to the last 5 days by using:

pytr dl_docs --last_days 5 .

This seems to have no effect for me. The download still starts at 01.06., which is where the first document was placed in my account.

EDIT: btw: the BAD_REQUEST seems to stem from the entry to verify your bank-account, so maybe it could be implemented to be skipped at the download

@V0xxel V0xxel added the bug Something isn't working label Jun 21, 2023
@marzzzello
Copy link
Collaborator

Is this error still occuring in the latest version?

@Akaame
Copy link
Contributor

Akaame commented Nov 8, 2023

Confirmed that the last_days parameter indeed works.

pytr -V
0.1.9

@ghost
Copy link

ghost commented Nov 22, 2023

This works for me.

pytr dl_docs --last_days 30 ./

Maybee the documents are not available. I used this also in older versions, so I can not confirm a bug

@fredo-47
Copy link

Maybe there is confusion because the terminal log always shows all the documents (from all time) when pytr is executed.

But only the documents from the timeframe given by --last_days parameter are actually saved to PATH.
So I guess it works as intended.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants