Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Download German books #16

Closed
schornhe opened this issue Apr 28, 2020 · 8 comments
Closed

Download German books #16

schornhe opened this issue Apr 28, 2020 · 8 comments

Comments

@schornhe
Copy link

It would be great to have alos the possibility to get the German books also

@renanxcortes
Copy link
Owner

That would be cool @schornhe! However, I'm checking here that the column "German Package Name" is empty in the springer files menu (https://resource-cms.springernature.com/springer-cms/rest/v1/content/17858272/data/v4/). Is this what you're referring about?

@schornhe
Copy link
Author

@renanxcortes : The German books are here: https://resource-cms.springernature.com/springer-cms/rest/v1/content/17863240/data/v2
This is a diffrent file

@renanxcortes
Copy link
Owner

@renanxcortes : The German books are here: https://resource-cms.springernature.com/springer-cms/rest/v1/content/17863240/data/v2
This is a diffrent file

Ow, I see got it! Okay, I'll check here the feasibility of adding them. Thanks!

@schornhe
Copy link
Author

schornhe commented Apr 29, 2020

@renanxcortes : There is also a third list about medical and nursing books in German: https://resource-cms.springernature.com/springer-cms/rest/v1/content/17856246/data/v3
Maybe you can consider this list as well

@Nosferican
Copy link

Links and availability of epub/pdf for German textbooks (last two columns).

@renanxcortes
Copy link
Owner

renanxcortes commented Apr 30, 2020

@schornhe and @Nosferican , The last PR addresses the issue and now the function has the German books. Please, could you try running (please note the lan = 'ger', which is for German language):

devtools::install_github("renanxcortes/springerQuarantineBooksR", force = T)
library(springerQuarantineBooksR)
setwd('different_destination_folder_for_german_books')
download_springer_book_files(lan = 'ger')

It will generate an output similar to this one below:

image

Please, let me know if it worked. And if yes, let your German friends know!!! :)

@renanxcortes
Copy link
Owner

I reopened this issue, but add a partially solved label on it. I need to check how to add the medical and nursing books that @schornhe
mentioned in #16 (comment).

@schornhe
Copy link
Author

schornhe commented Apr 30, 2020

@renanxcortes Thanks' for you efforts.
I have observed the following issues:
The program ist starting with
Downloading title latest editions. Processing... Werbe- und Konsumentenpsychologie (1 out of 52)
However in the list ...v2 are 55 books
The missing books are labeled in the column "Product Type" with "Undergraduate textbook" or "Graduate/advanced undergraduate textbook"
However in the collumn "language Collection" they are labeled with "German"

The program runs through and loads 52 books, but at th end I get the message
Warning message: In if (!dir.exists(current_folder)) { : the condition has length > 1 and only the first element will be used

My suggestion to add the nursing books I would be:
if (lan == 'ger_nurse') {books_list_url <- 'https://resource-cms.springernature.com/springer-cms/rest/v1/content/17863240/data/v3'}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants