scalingexcellence / scrapybook

Scrapy Book Code
http://scrapybook.com/
475 stars 209 forks source link

can't login to Appery.io to do ch04 #39

Closed robertodijo closed 5 years ago

robertodijo commented 6 years ago

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)
lookfwd commented 6 years ago

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.