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

StatusCodeError: 301 - undefined #84

Open
MK281 opened this issue Dec 20, 2019 · 1 comment
Open

StatusCodeError: 301 - undefined #84

MK281 opened this issue Dec 20, 2019 · 1 comment

Comments

@MK281
Copy link

MK281 commented Dec 20, 2019

C:\Users\17041758\SafariBooks-Downloader>safaribooks-downloader -b 9781484224427 -u nicohaenggi -p MySuperSecurePassword -o /Users/nicohanggi/Desktop/testbook.epub
[safari-downloader] starting application...
[safari-downloader] StatusCodeError: 301 - undefined

This is the error I am getting. Does anyone know how to fix this? Thanks

@andrealmar
Copy link

In lib/safari/index.js change

this.baseUrl = "https://www.safaribooksonline.com";

to

this.baseUrl = "https://learning.oreilly.com";

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

No branches or pull requests

2 participants