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

Adding helper function to scrape webpage and save books by chapter. #94

Closed zmacks closed 4 years ago

zmacks commented 4 years ago

Adding the --dl_chapters argument will download all books in chapters by scraping the webpage of the original book for PDF links. Please, I don't have a ton of experience working in groups, so would love constructive feedback. Thanks!

zmacks commented 4 years ago

Forgot to mention, only supports PDF

alexgand commented 4 years ago

Hi @zmacks, I really liked this option. But it would be nice if the chapters were saved in order of appearence (say, putting 01, 02, ..., in front of the title of the chapter in the filename), so it would appear in correct order in the downloaded folder. Can you make this happen? Also, please update the README.MD to show the new option. Thanks.

zmacks commented 4 years ago

Thanks @alexgand ! I submitted a new pull request to address those concerns : )