Open anutator opened 6 years ago
The answer is to run command inside safarybooks directory. But epub files are very small. I don't show book id number.
2018-02-24 05:37:38 [scrapy.spidermiddlewares.httperror] INFO: Ignoring response <401 https://www.safaribooksonline.com//api/v1/book/book-id-number/chapter/ch01s04.html>: HTTP status code is not handled or not allowed
2018-02-24 05:37:39 [scrapy.core.engine] DEBUG: Crawled (401) <GET https://www.safaribooksonline.com//api/v1/book/book_id/chapter/ch01s03.html> (referer: https://www.safaribooksonline.com/nest/epub/toc/?book_id=book_id_number)
I encountered this problem too, thank you @bestann for your solution. And this behavior is really confusing and should be improved.
I installed Python 2.7.14 as an alternative (not deleting 2.7.5). https://tecadmin.net/install-python-2-7-on-centos-rhel/ Should I add something to configuration?