Does that mean amazon is refusing the scraping act?
When I run your code, I get:
“Amazon.co.jp: Advanced EXCEL: David Bolocan: 洋書”
0.5.4 503 Service Unavailable
The server is currently unable to handle the request due to a temporary
overloading or maintenance of the server. The implication is that this
is a temporary condition which will be alleviated after some delay. If
known, the length of the delay MAY be indicated in a Retry-After header.
If no Retry-After is given, the client SHOULD handle the response as it
would for a 500 response
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.