Giter Club home page Giter Club logo

Comments (7)

Spotlight0xff avatar Spotlight0xff commented on July 22, 2024

All Tracks/Sets? Can you provide an example please, so we can try to
reproduce the problem?
On 25 Feb 2015 15:19, "mihau" [email protected] wrote:

requests.exceptions.HTTPError: 401 Client Error: Unauthorized
as of today, this is what I'm getting for sets/tracks, win32, scdl v1.1.1


Reply to this email directly or view it on GitHub
#50.

from scdl.

uahim avatar uahim commented on July 22, 2024

https://soundcloud.com/ukgoldfilm/sets/uk-gold-soundtrack
on a second look, it seems to be all tracks from this set only, my bad

from scdl.

flyingrub avatar flyingrub commented on July 22, 2024
fly@Minotoor ~/Musique/test $ scdl -l https://soundcloud.com/ukgoldfilm/sets/uk-gold-soundtrack
Soundcloud Downloader

Found a playlist
Track n°1
Downloading Tap24+ Hiha24 (Yorke / Greenwood)
100% [......................................................] 3093314 / 3093314
Settings tags...

Tap24+ Hiha24 (Yorke  Greenwood).mp3 Downloaded.

Track n°2
Downloading Mosquito Beat Slow (Yorke)
100% [......................................................] 1161089 / 1161089
Settings tags...

Mosquito Beat Slow (Yorke).mp3 Downloaded.

it works fine here

from scdl.

Spotlight0xff avatar Spotlight0xff commented on July 22, 2024

Works here too, Linux though. Does the firewall interfere? Does other songs work?

from scdl.

uahim avatar uahim commented on July 22, 2024

yes, other sets and tracks work fine, weird

from scdl.

philippeboyd avatar philippeboyd commented on July 22, 2024

I got the same error today with a previous version.

scdl -l https://soundcloud.com/louis-vivet-music/downbeat-feat-gavrielle-1

Found a track
Traceback (most recent call last):
  File "/usr/local/bin/scdl", line 9, in <module>
    load_entry_point('scdl==v1.0.7', 'console_scripts', 'scdl')()
  File "/usr/local/lib/python3.4/dist-packages/scdl/scdl.py", line 87, in main
    parse_url(arguments["-l"])
  File "/usr/local/lib/python3.4/dist-packages/scdl/scdl.py", line 151, in parse_url
    download_track(item)
  File "/usr/local/lib/python3.4/dist-packages/scdl/scdl.py", line 315, in download_track
    stream_url = client.get(track.stream_url, allow_redirects=False)
  File "/usr/local/lib/python3.4/dist-packages/soundcloud/client.py", line 130, in _request
    return wrapped_resource(make_request(method, url, kwargs))
  File "/usr/local/lib/python3.4/dist-packages/soundcloud/request.py", line 135, in make_request
    result.raise_for_status()
  File "/usr/lib/python3/dist-packages/requests/models.py", line 773, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 401 Client Error: Unauthorized

I then upgraded to 1.1.1 using

sudo pip3 install scdl --upgrade

And everything went fine.

from scdl.

flyingrub avatar flyingrub commented on July 22, 2024

issue fixed when upgrading

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.