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.64k stars 366 forks source link

Make downloading of books multithreaded, controlled via -j/--jobs #97

Open wildmichael opened 4 years ago

wildmichael commented 4 years ago

A simple (unscientific) timing: I downloaded the 10 first German books with -j 1 and -j 4:

Single-threaded: 7m48s Four threads: 2m41s

This is a factor of 2.9 faster.

alexgand commented 4 years ago

Hi @wildmichael great work here! But for the sake of simplicity (and to not over demand springer servers), I prefer to leave the code single threaded. Thanks, though.