grindsa / dkb-robo

library to access the internet banking area of "Deutsche Kreditbank" to get account information and transactions
GNU General Public License v3.0
148 stars 30 forks source link

Double Name - only one downloaded #31

Closed muescha closed 2 years ago

muescha commented 2 years ago

i have in archive in messages 5 file with name Informationsbogen zur Einlagensicherung

i used this command to download all files:

> document_dic = dkb.scan_postbox(path, True, True)

as result i get only one document downloaded.

with same name it should have a incrementing counter

grindsa commented 2 years ago

I never thought about such a scenario. But anyway your proposal makes perfect sense. Let me work on it.

grindsa commented 2 years ago

The improvement made it into v0.17. From now on a timestamp will be added to the filename to avoid overrides in case of duplicate filenames.