403 errors from DO to iTunes API
I have a rake task that fetches information from Apple’s iTunes API.
I’m opening a bunch of URL’s in the following format:
There are 50 requests or so similar to this with different id’s.
When the task runs, it will complete the first 3 or 4 requests fine, but when then all subsequent requests will crap out with a 403 Forbidden error from Apple.
The same task runs fine on my development machine, no 403 errors. I’m using Ruby’s open-uri library on Ruby 2.
Is it possible the DO IP range is somehow being blocked by the iTunes API?
Thanks for your help.