From 714ca3d01792e19bab44a5ba2c6ec5acfcbbc05c Mon Sep 17 00:00:00 2001
From: Jun-Young Lee <jcsla@naver.com>
Date: Fri, 2 Sep 2016 23:15:46 +0900
Subject: [PATCH 1/2] modify soundcloud track id in README.md

---
 README.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/README.md b/README.md
index efc24f6..d85a6b5 100644
--- a/README.md
+++ b/README.md
@@ -85,7 +85,7 @@ SC.init({
 Once authorized (or if you're accessing unprotected endpoints), you may now make calls to the SoundCloud API [documented here](https://developers.soundcloud.com/docs/api/reference). An example could be as follows:
 
 ```javascript
-SC.get('/tracks/164497989', function(err, track) {
+SC.get('/tracks/276882056', function(err, track) {
   if ( err ) {
     throw err;
   } else {

From 57730436de99f9781cc450a9059b788201743298 Mon Sep 17 00:00:00 2001
From: Jun-Young Lee <jcsla@naver.com>
Date: Fri, 2 Sep 2016 23:39:24 +0900
Subject: [PATCH 2/2] change https to follow-redirects

---
 lib/soundcloud.js | 2 +-
 package.json      | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/soundcloud.js b/lib/soundcloud.js
index 32d482e..d6eeb47 100644
--- a/lib/soundcloud.js
+++ b/lib/soundcloud.js
@@ -1,6 +1,6 @@
 'use strict';
 
-var https       = require('https');
+var https       = require('follow-redirects').https;
 var qs          = require('querystring');
 var hostApi     = 'api.soundcloud.com';
 var hostConnect = 'https://soundcloud.com/connect';
diff --git a/package.json b/package.json
index b8ab10f..e2e1eac 100644
--- a/package.json
+++ b/package.json
@@ -17,5 +17,6 @@
     "node": ">=0.10.26"
   },
   "dependencies": {
+    "follow-redirects": "^0.2.0"
   }
 }