-
-
Notifications
You must be signed in to change notification settings - Fork 62
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
pytr download of docs fails if last_days option is provided #79
Comments
Created a PR #80 |
Fixed in master now. Thanks for your PR |
Hi @Katzmann1983, see anything I am doing wrong? |
Can you please check if the missing files are in "/Dokumente" now. At least for Dividends, this is the case for me now, since the title of the document in the timeline changed from "Abrechnung" to "Dokumente" after a certain date. |
Hi I think I have the wrong version. I do a
Than the file date of
I than moved the download subdir, to get a new subdir and run
And than no, there is no "Dokumente" directory below "docs". But I also think, that "Now" (2024-07-02 17:14) TR has problems I get:
But "many" of the files are downloaded, but the ones after 7th june are still missing. (Except "Zinsen" from 1st July are in the "Abrechnung" subdir) this is how my docs dir looks like. thanks |
Hi,
and not as described in the documentation. I have no clue why. Sorry if this is a newbie thing. Thanks for all the effords, but I would definitely change the version number, it still shows 0.1.9 which is the same as the one that does not work. thanks |
The
commands to work, a new release needs to be published there. In the meantime, it might be beneficial to highlight in the README.md that:
should be used in between releases. I think this would also benefit error reports which are already fixed in master, but the user still test with a depreciated version from the python registry. |
EDIT: With the latest update (03.07.2024) it works again like a charm. Hope It's fine to post here. If I use the most recent version from git clone https://github.com/marzzzello/pytr.git and do a pip install . then I still can't use the last_days command. If I say pytr dl_docs --last_days 10 C:\Users.... it downloads all documents instead of the ones of last 10 days. However in the previous version I received an error with --last_days. Now there is no error message but not considering the --last_days command. EDIT: Sorry for inconvenience. I realised that it is indeed only downloading the last_days period as it should. I was just surprised and not sure because the command dialog shows me way more downloads like so: ... So it runs through all the 1130 lines line by line. |
Description of the bug
Running "pytr dl_docs -n +49.... -p ... "" --last_days 10" reports an error, see below. If no last_days are provided, everything works fine.
I think the solution is basically the fix in #74 related to Unixtimestamps (see comments).
To Reproduce
Run "pytr dl_docs -n +49.... -p ... "" --last_days 10"
Expected behavior
No error.
Error log
Environment
The text was updated successfully, but these errors were encountered: