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

Updated baseUrl to the latest. #66

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion lib/safari/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,12 @@ const debug = require('debug')('safari'),
const Safari = function Safari(debug) {

// ## prepare base settings
this.baseUrl = "https://www.safaribooksonline.com";

// This url redirects to https://www.oreilly.com
// this.baseUrl = "https://www.safaribooksonline.com";

// The latest url that works is https://learning.oreilly.com
this.baseUrl = "https://learning.oreilly.com";
this.clientSecret = "f52b3e30b68c1820adb08609c799cb6da1c29975";
this.clientId = "446a8a270214734f42a7";
this.books = {};
Expand Down