New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

soundcloud-scraper

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

soundcloud-scraper

Get resource data (songs, playlists, etc.) from a SoundCloud URL

  • 2.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.2K
decreased by-29.54%
Maintainers
1
Weekly downloads
 
Created
Source

SoundCloud Scraper

☁️ Get basic informations about a song from a Soundcloud URL.

Installation

npm install soundcloud-scraper --save

TO-DO

  • Support for SoundCloud playlists.
  • Support for SoundCloud albums.
  • Support for SoundCloud search.
  • Add library tests (with jest or mocha).

Example

const scraper = require('soundcloud-scraper');

console.log(scraper.validateURL('https://soundcloud.com/nocopyrightsounds/alan-walker-fade-ncs-release'));
// true
console.log(scraper.validateURL('https://google.com'));
// false

scraper.getSongInfo('https://soundcloud.com/nocopyrightsounds/alan-walker-fade-ncs-release').then(console.log);
/*
{
  title: 'Alan Walker - Fade [NCS Release]',
  author: {
    name: 'NCS',
    followers: 1299216,
    verified: false,
    createdAt: 2012-04-29T12:00:22.000Z,
    avatarURL: 'https://i1.sndcdn.com/avatars-000703438633-4jlywq-large.jpg',
    profile: 'https://soundcloud.com/nocopyrightsounds'
  },
  duration: 264000,
  genre: 'Electro House',
  playCount: 42973193,
  commentsCount: 16936,
  likeCount: 616538,
  thumbnail: 'https://i1.sndcdn.com/avatars-000703438633-4jlywq-t500x500.jpg',
  publishedAt: 2014-11-19T16:40:24.000Z
}
*/

FAQs

Package last updated on 14 Aug 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc