blinkist-m4a-downloader icon indicating copy to clipboard operation
blinkist-m4a-downloader copied to clipboard

exit status 1

Open icf20 opened this issue 6 years ago • 15 comments

after 6 books it shows this error

icf20 avatar Feb 13 '19 14:02 icf20

Same here ` Visiting https://www.blinkist.com/en/nc/reader/the-power-of-the-other-en/ 2019/02/13 21:24:06 Book page response received HTTP200 Book title is: The Power of the Other API Link:https://www.blinkist.com/api/books/..../chapters/..../audio for chapter The Power of the Other/0 ......... API Link:https://www.blinkist.com/api/books/..../chapters/..../audio for chapter The Power of the Other/9 http://: Invalid host name. 2019/02/13 21:24:08 Folder already exist, investigate! http://: Invalid host name. 2019/02/13 21:24:08 Folder already exist, investigate! http://: Invalid host name. 2019/02/13 21:24:08 Folder already exist, investigate! http://: Invalid host name. 2019/02/13 21:24:08 Folder already exist, investigate! http://: Invalid host name. 2019/02/13 21:24:08 Folder already exist, investigate! http://: Invalid host name. 2019/02/13 21:24:08 Folder already exist, investigate! http://: Invalid host name. 2019/02/13 21:24:08 Folder already exist, investigate! http://: Invalid host name. 2019/02/13 21:24:08 Folder already exist, investigate! http://: Invalid host name. 2019/02/13 21:24:08 Folder already exist, investigate! http://: Invalid host name. 2019/02/13 21:24:08 Requests made: 11 (1 responses) | Callbacks: OnRequest: 0, OnHTML: 3, OnResponse: 11, OnError: 0 2019/02/13 21:24:10 Service Unavailable exit status 1

`

fschirinzi avatar Feb 13 '19 21:02 fschirinzi

It sometimes randomly happens, but it is a problem on their end

luckylittle avatar Feb 16 '19 03:02 luckylittle

Facing the same issue, not able to download on either windows or linux machine.

On a linux machine the script stops after a downloading folders for the respective books, but folder contains files which are empty.

On windows machine, its just empty folders and the script consistently fails with the above error all the time, after few books.

Is there anyway to get around the problem, can someone please help

pptpatil avatar Mar 13 '19 00:03 pptpatil

I looked into it and they added some new security measures to the API calls. This link still works without any issues (while logged in to the site): https://api.blinkist.com/v4/books/ + <book_id> + /meta However, the link: https://www.blinkist.com/api/books/ + <book_id> + /chapters/ + <chapter_id> + /audio that used to return audio file stopped working (you will get 401 Unauthorized, because they introduced x-csrf-token (Cross-Site Request Forgery protection). They're also masking AWS CloudFront with https://audio.blinkist.io/, but that shouldn't be a problem. When i have some time, i will look into it more.

luckylittle avatar Mar 13 '19 11:03 luckylittle

Hope your doing alright and waiting for your bugfix. Thank you for the project.

gspzz avatar Mar 31 '19 17:03 gspzz

waiting for bugfix sir.

napokhte avatar Jun 08 '19 07:06 napokhte

waiting as well

KamiGim avatar Jun 30 '19 05:06 KamiGim

Hi, I have about the same issue 'Too many requests' with a few empty folders. Can't find an alternative ... more convenient to have audios sotred on mp3 player instead of taking the phone aorund. Thanks @luckylittle

CodexTempus avatar Dec 24 '19 22:12 CodexTempus

Hi buddy, thanks for attempting to make this script - can you please look into the bug

  1. cannot find package "github.com/gocolly/colly
  2. Too many requests

Anybody knows better ways to download blinkist (e.g. node package)

deepakfialok avatar Dec 27 '19 07:12 deepakfialok

Hi buddy, thanks for attempting to make this script - can you please look into the bug

  1. cannot find package "github.com/gocolly/colly

Install Colly from https://github.com/gocolly/colly

AndrijaBenedik avatar Dec 28 '19 12:12 AndrijaBenedik

i have applied pull https://github.com/luckylittle/blinkist-m4a-downloader/pull/5

it downloads few folders then there are to many requests

2019/12/28 19:07:44 Requests made: 11 (11 responses) | Callbacks: OnRequest: 10, OnHTML: 3, OnResponse: 11, OnError: 0
2019/12/28 19:07:45 Too Many Requests
exit status 1

icf20 avatar Dec 28 '19 18:12 icf20

Hi icf20 you need to add a delay I would say so, I tried to find about retryin in the header but faster to add a random delay

CodexTempus avatar Jan 01 '20 22:01 CodexTempus

The issue is still present, @CodexTempus would you please share your solution or contact me on another channel? :)

dr0pd34d avatar Mar 11 '20 10:03 dr0pd34d

I've written code myself to download them all when I was checking this repo as it was not working for me. Planned to opensource it after refactoring. hadn't got time to continue before my 1-year membership expired. I already had most of audio files and texts downloaded with it, so I did not renew my membership. Blinkist changes as time go by, not sure the code still works nowadays. If anyone here is willing to share your account to me, I may get time (maybe 1 or 2 months later) to continue working on it and opensource it if necessary.@jungleran is my twitter account. I think you can find me there :).

Warning: please take any risk yourself of sharing the account to me, for example, to be banned by Blinkist while testing.

image

ranqiangjun avatar Mar 11 '20 12:03 ranqiangjun

To whom may concerns. I've uploaded the code to https://github.com/jungleran/blinkist-downloader, if someone is interested in improving it. PRs are welcome. if you need the maintainership, please open an issue there too, I am happy to add new maintainers.

ranqiangjun avatar Mar 15 '20 13:03 ranqiangjun