Re: FYI: Free for a limited time - ebooks from Springer

r hayman <[email protected]>
Newsgroups gmane.user-groups.linux.tclug
Message-ID <[email protected]>
I re-ran the full download suite this morning, using a different method
and 18 books were unable to be downloaded but 390 were successful:
On a different Ubuntu box (18.04) I did the following$ pip3 install
pandas
$ pip3 install wget
$ pip3 install requests
$ pip3 install xlrd
$ mkdir -p springer-python/download
$ cd springer-python
$ cp ~/Downloads/Free+English+textbooks.xlsx .
$ cat download-textbooks.py import requests, wgetimport pandas as pddf
= pd.read_excel("Free+English+textbooks.xlsx")for index, row in
df.iterrows():        # loop through the excel list        file_name =
f"{row.loc['Book Title']}_{row.loc['Edition']}".replace('/','-
').replace(':','-')        url = f"{row.loc['OpenURL']}"        r =
requests.get(url)        download_url =
f"{r.url.replace('book','content/pdf')}.pdf"        wget.download(downl
oad_url, f"./download/{file_name}.pdf")        print(f"downloading
{file_name}.pdf Complete ....")
$ python3 ./download-textbooks.py
The 18 books that failed showed up in the output as (sorted)-1 /
unknowndownloading A Beginners Guide to Python 3 Programming_1st ed.
2019.pdf Complete ....-1 / unknowndownloading Algebra_3rd ed. 2002.pdf
Complete ....-1 / unknowndownloading Clinical Neuroanatomy_2008.pdf
Complete ....-1 / unknowndownloading Data Science and Predictive
Analytics_1st ed. 2018.pdf Complete ....-1 / unknowndownloading
Electricity and Magnetism_2014.pdf Complete ....-1 / unknowndownloading
Geomorphology of Desert Environments_2nd ed. 2009.pdf Complete ....-1 /
unknowndownloading Handbook of Biological Confocal Microscopy_3rd ed.
2006.pdf Complete ....-1 / unknowndownloading Integrated
Neuroscience_2003.pdf Complete ....-1 / unknowndownloading Introduction
to Partial Differential Equations_2014.pdf Complete ....-1 /
unknowndownloading Java in Two Semesters_4th ed. 2019.pdf Complete
....-1 / unknowndownloading Pharmaceutical Biotechnology_5th ed.
2019.pdf Complete ....-1 / unknowndownloading Plant Anatomy_1st ed.
2018.pdf Complete ....-1 / unknowndownloading Plate Tectonics_2011.pdf
Complete ....-1 / unknowndownloading Primer on the Rheumatic
Diseases_13th ed. 2008.pdf Complete ....-1 / unknowndownloading
Principles of Fluorescence Spectroscopy_3rd ed. 2006.pdf Complete ....-
1 / unknowndownloading Principles of Physics_2012.pdf Complete ....-1 /
unknowndownloading Robotics, Vision and Control_2nd ed. 2017.pdf
Complete ....-1 / unknowndownloading Robotics, Vision and
Control_2011.pdf Complete ....
I ran this a second time with just the 18 failed books in a new
Free+English+textbooks.xlsx fileand they failed again with the same
error.
Fortunately I believe my initial downloads last Thursday grabbed good
copies of these 18 files as the original downloads were significantly
larger in size.
Unfortunately I don't yet have Google drive set up at the moment.


On Sun, 2020-05-03 at 22:07 -0500, Ryan Coleman wrote:
> It looks like many of them are incomplete…. I’m running a wget on all
> the titles right now and many are coming up as 404.
> 
> > On May 3, 2020, at 4:56 PM, eminmn <[email protected]> wrote:
> > Hey Man, thanks for the offer! (that's a pun).
> > Another member of tclug was kind enough to send me the Beginner's
> > Guide. The other one that would download only some kind of 13K
> > preamble was "Plant Anatomy," but that one is huge (about 150 MB
> > according to the first good Samaritan). If anyone has something
> > like Google Drive that they could upload it to, I would be grateful
> > for a shareable link. Otherwise, I could get along without it. I
> > did download one at a time about 50 others.
> > Now I would like to know why this glitch cropped up but I am not
> > likely to figure it out. I am only an occasional user of linux
> > (mint 19) and I know almost nothing about python.
> > 
> > Thanks,
> > 
> > Ed
> > 
> > On 5/2/2020 18:58, r hayman wrote:
> > > My
> > > 'A Beginners Guide to Python 3 Programming - John Hunt, 1sr ed.
> > > 2019 - 978-3-030-20290-3.epub' is 27.2 MB
> > > and my
> > > 'A Beginners Guide to Python 3 Programming - John Hunt, 1sr ed.
> > > 2019 - 978-3-030-20290-3.pdf' is 30.5 MB.
> > > I'm not sure what happened to your download, but I'd be willing
> > > to share also if you can't resolve the issue.
> > > On Fri, 2020-05-01 at 23:17 -0500, eminmn wrote:
> > > > Thanks for this. There are many useful volumes here but one of
> > > > the most
> > > > interesting to me was A Beginners Guide to Python 3 Programming
> > > > (Hunt),
> > > > which unfortunately is illegible. Both epub and pdf are of
> > > > identical
> > > > size as reported by the system (about 13K). Looked at in Emacs
> > > > it seems
> > > > to be some kind of binary index file. The hard copy book is 433
> > > > pp. Even
> > > > plain text couldn't be compressed that much.
> > > > 
> > > > Thanks,
> > > > Ed
> > > > 
> > > > On 4/30/2020 17:03, r hayman wrote:
> > > > > Just passing this along to those that might be interested.
> > > > > Springer books released for free during the 2020 COVID-19
> > > > > quarantine. No idea when this will end. The list of books can
> > > > > be found here 
> > > > > https://resource-cms.springernature.com/springer-cms/rest/v1/content/17858272/data/v4
> > > > >  This GitHub repo has more info (links) and a python script
> > > > > to download all 409 books, or subsets of them. 
> > > > > https://github.com/alexgand/springer_free_books Plan on a 4+
> > > > > hour download window if you want copies of them all, there's
> > > > > about 14GB. I think the Springer site has throttled the
> > > > > download speed, I'm only getting ~2.4Mbps.
> > > > > _______________________________________________ TCLUG Mailing
> > > > > List - Minneapolis/St. Paul, Minnesota tclug-list@mn-
> > > > > linux.org <mailto:[email protected]> 
> > > > > http://mailman.mn-linux.org/mailman/listinfo/tclug-list 
> > > > 
> > > > _______________________________________________
> > > > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
> > > > [email protected]  <mailto:[email protected]>
> > > > http://mailman.mn-linux.org/mailman/listinfo/tclug-list
> > > _______________________________________________
> > > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
> > > [email protected]
> > > http://mailman.mn-linux.org/mailman/listinfo/tclug-list
> > _______________________________________________
> > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
> > [email protected]
> > http://mailman.mn-linux.org/mailman/listinfo/tclug-list
> 
> _______________________________________________TCLUG Mailing List -
> Minneapolis/St. Paul, [email protected]
> http://mailman.mn-linux.org/mailman/listinfo/tclug-list

_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
[email protected]
http://mailman.mn-linux.org/mailman/listinfo/tclug-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.