alexgand / springer_free_books

Python script to download all Springer books released for free during the 2020 COVID-19 quarantine
GNU General Public License v3.0
1.65k stars 367 forks source link

Limiting the minimum book filename length #90

Closed chaosAD closed 4 years ago

chaosAD commented 4 years ago

The previous code did not check for minimum length of the filename. The amendment limits it to 50, so that it can accommodate at least some reasonable portion of the book title and the full electronic ISBN. The maximum filename length may go below 50 if the user used a very long download directory path. If the minimum is breached, the user would be notified and a shorter download directory path would be suggested in order to remedy the problem.