Skip to content
This repository has been archived by the owner on Dec 3, 2023. It is now read-only.

Commit

Permalink
drop soundcloud due to ssl error on travis
Browse files Browse the repository at this point in the history
  • Loading branch information
przemyslawpluta committed Sep 28, 2017
1 parent 80d924a commit 0c7168d
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 21 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
dist: trusty
language: node_js
node_js:
- "4"
Expand Down
40 changes: 20 additions & 20 deletions test/getInfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,26 +69,26 @@ vows.describe('getInfo').addBatch({
});
}
},
'from a soundcloud track': {
'topic': function() {
'use strict';
var video = 'https://soundcloud.com/erasedtapes/kiasmos-bent';
ytdl.getInfo(video, this.callback);
},
'info returned': function(err, info) {
'use strict';
assert.isNull(err);
assert.isObject(info);
assert.equal(info.id, '147055755');
assert.equal(info.title, 'Kiasmos - Bent');
assert.isString(info.url);
assert.isString(info.thumbnail);
assert.isString(info.description);
assert.equal(info._filename, 'Kiasmos - Bent-147055755.mp3');
assert.equal(info.format, 'http_mp3_128_url - audio only');
assert.equal(info.duration, '5:45');
}
},
// 'from a soundcloud track': {
// 'topic': function() {
// 'use strict';
// var video = 'https://soundcloud.com/erasedtapes/kiasmos-bent';
// ytdl.getInfo(video, this.callback);
// },
// 'info returned': function(err, info) {
// 'use strict';
// assert.isNull(err);
// assert.isObject(info);
// assert.equal(info.id, '147055755');
// assert.equal(info.title, 'Kiasmos - Bent');
// assert.isString(info.url);
// assert.isString(info.thumbnail);
// assert.isString(info.description);
// assert.equal(info._filename, 'Kiasmos - Bent-147055755.mp3');
// assert.equal(info.format, 'http_mp3_128_url - audio only');
// assert.equal(info.duration, '5:45');
// }
// },
'from a vimeo video': {
'topic': function() {
'use strict';
Expand Down

0 comments on commit 0c7168d

Please sign in to comment.