Giter Club home page Giter Club logo

Comments (4)

Olangu avatar Olangu commented on May 18, 2024

Hmm, yeah.

That's strange, maybe it's better to check if the stream_url is present?

Here's the last of the provided examples:
{
'attachments_uri': 'https://api.soundcloud.com/tracks/91141832/attachments',
'video_url': None,
'track_type': 'remix',
'release_month': None,
'original_format': 'wav',
'label_name': 'EMI',
'duration': 151993,
'id': 91141832,
'streamable': False,
'user_id': 462658,
'title': 'Empire Of The Sun - Alive (Zedd Remix)',
'favoritings_count': 108107,
'commentable': True,
'label_id': None,
'state': 'finished',
'downloadable': False,
'policy': 'ALLOW',
'waveform_url': 'https://w1.sndcdn.com/dDfOpOuhSNx5_m.png',
'sharing': 'public',
'description': '- COMING OUT MAY 28 -\r\n\r\nwww.facebook.com/zedd\r\nwww.twitter.com/zedd\r\n\r\nDownload "Clarity" on iTunes: http://smarturl.it/Clarity\r\nDownload Empire Of The Sun's new album here: http://smarturl.it/IceOnTheDuneiTunes',
'release_day': None,
'purchase_url': 'https://itunes.apple.com/us/album/alive-zedd-remix/id649553500?i=649553502',
'permalink': 'alive',
'comment_count': 7302,
'purchase_title': 'DOWNLOAD HERE',
'stream_url': 'https://api.soundcloud.com/tracks/91141832/stream',
'last_modified': '2014/10/29 16:06:54 +0000',
'user': {
'username': 'Zedd',
'permalink': 'zedd',
'avatar_url': 'https://i1.sndcdn.com/avatars-000033093855-0hhj1z-large.jpg',
'kind': 'user',
'uri': 'https://api.soundcloud.com/users/462658',
'last_modified': '2014/08/04 08:54:55 +0000',
'permalink_url': 'http://soundcloud.com/zedd',
'id': 462658
},
'genre': 'Electro House',
'isrc': '',
'download_count': 0,
'permalink_url': 'http://soundcloud.com/zedd/alive',
'playback_count': 5205599,
'kind': 'track',
'release_year': None,
'license': 'all-rights-reserved',
'artwork_url': 'https://i1.sndcdn.com/artworks-000049182833-5fr6ra-large.jpg',
'created_at': '2013/05/07 18:42:51 +0000',
'bpm': None,
'uri': 'https://api.soundcloud.com/tracks/91141832',
'original_content_size': 26801094,
'key_signature': '',
'release': '',
'tag_list': 'Empire Of The Sun Alive Zedd Remix Electro House EMI Interscope Over9000',
'embeddable_by': 'all'
}

from scdl.

Olangu avatar Olangu commented on May 18, 2024

Just leaving it up to the stream_url does not work. Getting a 404.
Really strange as it plays fine from their webpage.

from scdl.

flyingrub avatar flyingrub commented on May 18, 2024

if track is not streamable the script can't download it, it's an api limitation to reuse your word ...
we can't do anything with this.
Perhaps you could say to the artist that he must change his track property...

from scdl.

flyingrub avatar flyingrub commented on May 18, 2024

https://github.com/flyingrub/scdl/blob/master/scdl/scdl.py#L269

from scdl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.