SafariBooks-Downloader
SafariBooks-Downloader copied to clipboard
All books returning 404?
Hi,
Just recently books started returning 404:
$ safaribooks-downloader -u user -p "password" -o ./books/book.epub -b id
[safari-downloader] starting application...
[safari-downloader] the user "[email protected]" was successfully authorized...
[safari-downloader] StatusCodeError: 404 - {}
This is happening for all books I try.
I'm having the same problem.
Hi guys, please refer to my pull request https://github.com/nicohaenggi/SafariBooks-Downloader/pull/40 . It is not yet merged, so meanwhile you can use my fork. Feel free to review the commits for your own security.
Hi Vincent, awesome! Thanks! I’ll test as well 👍
Best Regards, Bernd
From: Vincent C [email protected] Sent: Monday, November 26, 2018 9:38 AM To: nicohaenggi/SafariBooks-Downloader Cc: Bernd Rennebeck; Author Subject: Re: [nicohaenggi/SafariBooks-Downloader] All books returning 404? (#42)
Hi guys, please refer to my pull request. It is not yet merged, so meanwhile you can use my fork. Feel free to review the commits for your own security. #40https://github.com/nicohaenggi/SafariBooks-Downloader/pull/40
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/nicohaenggi/SafariBooks-Downloader/issues/42#issuecomment-441494586, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AEjeDBeSvIDsryQsdcz0puF6MkNBY-xpks5uy0YYgaJpZM4Yu2Ok.
Hi guys, please refer to my pull request #40 . It is not yet merged, so meanwhile you can use my fork. Feel free to review the commits for your own security.
I tried your fork but I'm still getting a [safari-downloader] StatusCodeError: 404 - {}
Hi guys, please refer to my pull request #40 . It is not yet merged, so meanwhile you can use my fork. Feel free to review the commits for your own security.
I tried your fork but I'm still getting a [safari-downloader] StatusCodeError: 404 - {}
Hi, sorry to hear that. I will push a way to debug request on this fork, so I can help you out because I have actually nothing to know what happens. I will create a new issue and mention it here.
I've checked out dev branch here and ran it, but it did not work. So, I applied the same change locally (remove the dashes) and it worked fine. Thanks!
I've checked out dev branch here and ran it, but it did not work. So, I applied the same change locally (remove the dashes) and it worked fine. Thanks!
Are you talking about the dash on line 154 & 174? Because I tried that earlier.
Hi guys @ElegantPercentage and @Rafaelj,
I added a debug option in my fork hypr2771:dev.
Can you please then retry using the -d
or --debug
flag and post the output in order to be able to analyze your issue ?
Also, are you running my fork or running the dev
branch of this project ?
Thank you guys !
Hi,
@ElegantPercentage and @Rafaelj, did you install the tool globally before? I think you just need to trigger npm install -g
on your checkout to ensure you are using the tool with the latest patches.
I tried fetching the changes of @hypr2771, and also experienced the same 404 issue. Tried using the -d flag where it complained that the option was unknown. So I figured it might be running the old version. Simply reinstalling the tool does the trick for me.
Hi guys,
i have the same problem getting the following error. StatusCodeError: 404 that's the error i get just after "the user [my user id] was successfully authorized...
i tried reinstalling and running it on a different book.
Hi @TuxyKey, can you copy/paste the output of
echo `git remote get-url origin`:`git branch --format='%(refname)'`
please ?
Same issue here!
https://github.com/nicohaenggi/SafariBooks-Downloader.git:refs/heads/master
Hi @triangulum. As you can see
https://github.com/nicohaenggi/SafariBooks-Downloader.git:refs/heads/master
Tells us you are on nicohaenggi repository, and on master branch.
As my PR is not merged yet, you need to pull my fork here and git checkout dev
to make sure you are on the current development branch.
You will then need to reinstall using npm uninstall safaribooks-downloader && npm -g install
in the fork directory.
A simple way of making sure you have the right version is to add a --debug
flag to your safaribooks-downloader
previous command.
If it runs and print some debugging info about HTTP request, you made it right, if not, answer here for more assistance.
Hi @triangulum. As you can see
https://github.com/nicohaenggi/SafariBooks-Downloader.git:refs/heads/master
Tells us you are on nicohaenggi repository, and on master branch. As my PR is not merged yet, you need to pull my fork here and
git checkout dev
to make sure you are on the current development branch.You will then need to reinstall using
npm uninstall safaribooks-downloader && npm -g install
in the fork directory. A simple way of making sure you have the right version is to add a--debug
flag to yoursafaribooks-downloader
previous command.If it runs and print some debugging info about HTTP request, you made it right, if not, answer here for more assistance.
Thanks mate
Hi @triangulum. As you can see
https://github.com/nicohaenggi/SafariBooks-Downloader.git:refs/heads/master
Tells us you are on nicohaenggi repository, and on master branch. As my PR is not merged yet, you need to pull my fork here and
git checkout dev
to make sure you are on the current development branch. You will then need to reinstall usingnpm uninstall safaribooks-downloader && npm -g install
in the fork directory. A simple way of making sure you have the right version is to add a--debug
flag to yoursafaribooks-downloader
previous command. If it runs and print some debugging info about HTTP request, you made it right, if not, answer here for more assistance.Thanks mate
Hi, I'm new.
How do I pull the fork for hypr2771?
Thanks!
Hi @kimlien123 ! Sorry for the late reply, been quite busy... While my pull request is being reviewed, you can pull my fork by doing a simple
git clone [email protected]:hypr2771/SafariBooks-Downloader.git
Good luck !
Thanks!
I'll check it out!
On Sun, Dec 30, 2018 at 1:39 PM Vincent Castelluci [email protected] wrote:
Hi @kimlien123 https://github.com/kimlien123 ! Sorry for the late reply, been quite busy... While my pull request https://github.com/nicohaenggi/SafariBooks-Downloader/pull/40 is being reviewed, you can pull my fork https://github.com/hypr2771/SafariBooks-Downloader by doing a simple
git clone [email protected]:hypr2771/SafariBooks-Downloader.git
Good luck !
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/nicohaenggi/SafariBooks-Downloader/issues/42#issuecomment-450588421, or mute the thread https://github.com/notifications/unsubscribe-auth/Arwzo5BYjqTTJZalqhjbYY4scWd_3f9tks5u-TKvgaJpZM4Yu2Ok .
hi @hypr2771
I am using your fork, dev branch, but facing this problem, could you please show how to fix this
[safari-downloader] starting application...
[safari-downloader] the user "[email protected]" was successfully authorized...
[safari-downloader] StatusCodeError: 403 - {"detail":"You do not have permission to perform this action."}
hi @hypr2771
I am using your fork, dev branch, but facing this problem, could you please show how to fix this
[safari-downloader] starting application... [safari-downloader] the user "[email protected]" was successfully authorized... [safari-downloader] StatusCodeError: 403 - {"detail":"You do not have permission to perform this action."}
Hi @ninhdh0 !
Would you mind opening new issues if they are unerelated to this one (404
).
This will allow people to find more easily already solved issues similar to theirs.
Concerning your issue, could you make sure you can log into Safari website and have access to the book you are trying to download ?
I guess your account is a free account which reached it's expiration date already.
I have finally merged @hypr2771 pull request #40 for fixing the 404 error. Thanks for the input @hypr2771 , I really do appreciate the help.
Does anyone knows what this status stands for?
[safari-downloader] starting application... [safari-downloader] StatusCodeError: 302 - undefined
I am copying this in reference to Issue#83
Hi,
I am experiencing the error message below.
[safari-downloader] starting application... [safari-downloader] the user "[email protected]" was successfully authorized... [safari-downloader] StatusCodeError: 404 - {"detail":"Not found."}
I have performed the following to re mediate
Tried the steps on code section as it is but i got error 301 So i did this in the file ./lib/safari/index.js, change this.baseUrl on line 18 to... this.baseUrl = "https://learning.oreilly.com";
I got error 404 I used git clone https://github.com/hypr2771/SafariBooks-Downloader Uninstall and reinstall npm -g I am still getting the error 404 :( [safari-downloader] starting application... [safari-downloader] the user "[email protected]" was successfully authorized... [safari-downloader] downloaded meta files... [safari-downloader] downloaded table of content files... [safari-downloader] downloaded chapter files... [safari-downloader] downloaded stylesheet files...
Help please :( I am a script "kiddie" sorry I know an issue was opened exactly like this, I tried the work around with the fork and I know it was merged but I am not sure what to do next sorry.