PySimpleGUI based GUI to download all Springer books released for free during the 2020 COVID-19 quarantine
This repo has the code that dowhnloads the files:
It lacks a GUI and control of where to save the files which is what this new program provides.
Run the program
You will be prompted for a folder to save the books to. In that folder a subfolder named "springer_books" will be created.
Books will be downloaded to this subfolder and categorized by subject.
The books are organized according to the subject ("English Package Name" column).
If you want just one or two specific books, get the excel file from the folowing link and download the titles you seek:
The GUI Additions
The addition of the GUI was not a difficult one to add to this program. You will find that converting most command line programs into a GUI program are easy when using PySimpleGUI. There were 2 primary changes.
- Where the code previously had a path that was hard coded, replace with a call to
- Added a "smarter progress meter". TQDM is OK. It's better than nothing
Each of these changes amounted to 7 lines of code. The result is a program that could be make into an EXE file and distributed to anyone. Previously you had to modify the source code to change the download folder so creating an EXE file wouldn't have helped. You would also have to continue to run as a command line program as the TQDM output is to the console.
If you're just getting into GUIs, try converting somee of your programs like this.
Information about Springer Books' Generous Gestrure
Spreadsheet listinging available books
One thing that the original program did not provide you was the ability to safely abort the download. Nor were you informed about the estimated download time.
This softwared is licensed using LGPL3