scalingexcellence / scrapybook

Scrapy Book Code

Home Page:http://scrapybook.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

can't login to Appery.io to do ch04

robertodijo opened this issue · comments

I try to run the code in chapter 4, but I can't write to Appery.io database. i have followed the instructions in the book by configuring the settings.py
scrapy crawl gives me the following error:

2017-09-20 15:02:55 [scrapy] DEBUG: Crawled (200) <GET http://scrapybook.s3.amazonaws.com/properties/property_000055.html> (referer: http://scrapybook.s3.amazonaws.com/properties/index_00001.html)
2017-09-20 15:02:55 [scrapy] DEBUG: Gave up retrying <GET https://api.appery.io/rest/1/db/login?username=root&password=**> (failed 3 times): 400 Bad Request
2017-09-20 15:02:55 [scrapy] DEBUG: Crawled (400) <GET https://api.appery.io/rest/1/db/login?username=root&password=pass> (referer: None)

Hello Roberto,

Just wondering - there are those updated instructions on this video.

https://www.youtube.com/watch?v=FEbPyQJc3NE

Can you check if they help - because the API have changed a bit since the book was out.