Giter Club home page Giter Club logo

Comments (5)

AshiraLOL avatar AshiraLOL commented on September 26, 2024

having the same error.
did soundcloud update something new?

Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in run_code
File "C:\Users\Something\AppData\Local\Programs\Python\Python311\Scripts\scdl.exe_main
.py", line 7, in
sys.exit(main())
^^^^^^
File "C:\Users\Something\AppData\Local\Programs\Python\Python311\Lib\site-packages\scdl\scdl.py", line 158, in main
if not client.is_client_id_valid():
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Something\AppData\Local\Programs\Python\Python311\Lib\site-packages\soundcloud\soundcloud.py", line 125, in is_client_id_valid
next(
StopIteration

Screenshot 2024-03-18 232737

from scdl.

KeithInvan avatar KeithInvan commented on September 26, 2024

Linux code blowing the same errors, on the same line numbers with the exception of the first line, is Line 8, not Line 7.

Seems Soundcloud made a change.

from scdl.

poliana-girl avatar poliana-girl commented on September 26, 2024

i'm also getting the same error ); really sad this broke because it was a really useful tool and it doesn't seem to have any active maintainers. i'd try and fix it myself but i would probably make it worse lol.

this works well in the meantime though:

yt-dlp --embed-metadata --embed-thumbnail https://soundcloud.com/artist/song

The only caveat is that if it downloads the original file it won't autoconvert it to flac, so it will just fail to add the thumbnail if the original file is a wav or aiff file. definitely not perfect but it's better than nothing!

Upon closer inspection i think this is a problem with the soundcloud library for python and not scdl itself? idk

from scdl.

7x11x13 avatar 7x11x13 commented on September 26, 2024

Should be fixed in v2.7.4

soundcloud seems to have removed the recent-tracks endpoint (RIP tag watching) which I was using to validate the client_id. I changed the validation method to just fetch some track instead.

from scdl.

gabhab avatar gabhab commented on September 26, 2024

Amazing - thanks so much for fixing it so quickly!

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.