From 4e7dcbe7efdd0449e0e4048ec390a6ad0cf5620b Mon Sep 17 00:00:00 2001 From: Calvin Montgomery Date: Wed, 21 May 2014 20:53:13 -0700 Subject: [PATCH] Fix for soundcloud returning 302 found instead of 200 OK --- lib/get-info.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/get-info.js b/lib/get-info.js index 5e92159a..1ec6bcfe 100644 --- a/lib/get-info.js +++ b/lib/get-info.js @@ -479,6 +479,7 @@ var Getters = { urlRetrieve(https, options, function (status, data) { switch (status) { case 200: + case 302: break; /* Request is OK, skip to handling data */ case 400: return callback("Invalid request", null);