diff --git a/lib/safari/index.js b/lib/safari/index.js index abc0d34..42ca033 100644 --- a/lib/safari/index.js +++ b/lib/safari/index.js @@ -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 = {};