Code Monkey home page Code Monkey logo

Comments (7)

Sorrow446 avatar Sorrow446 commented on July 26, 2024 1

That makes perfect sense, thanks. This token should be identical to the one the auth function returns, I'll need to check that.

from sberzvuk-downloader.

Sorrow446 avatar Sorrow446 commented on July 26, 2024 1

Album links only, sorry.

from sberzvuk-downloader.

tst32 avatar tst32 commented on July 26, 2024 1

Oh, nice! thanks you so much! 🛩ī¸ all works now! 👍đŸģ

from sberzvuk-downloader.

Sorrow446 avatar Sorrow446 commented on July 26, 2024

I don't see the point in this. Could you explain the benefit of using a token over credentials?

from sberzvuk-downloader.

tst32 avatar tst32 commented on July 26, 2024

In my case I have a token and email, in my profile, but no password. This is because of the way I authorize in openplay - I authorize through a third-party service. accordingly, I can't specify a password. The way I looked at it - in the process the password is only used together with the email to get the token. I'm sorry if I missed something, as I just quickly looked through the code.
cheers!

from sberzvuk-downloader.

Sorrow446 avatar Sorrow446 commented on July 26, 2024

Implemented. de1d87d
It'll use the token if it's not empty, otherwise it'll use credentials. My tokens seem to always be 32 chars long, let me know if yours aren't.
Let me know if you need binaries.

from sberzvuk-downloader.

tst32 avatar tst32 commented on July 26, 2024

Yes, mine is also 32 length!
it works, as follow

./main  https://zvuk.com/track/57571043

 _____         _      ____                _           _         
|__   |_ _ _ _| |_   |    \ ___ _ _ _ ___| |___ ___ _| |___ ___ 
|   __| | | | | '_|  |  |  | . | | | |   | | . | .'| . | -_|  _|
|_____|\_/|___|_,_|  |____/|___|_____|_|_|_|___|__,|___|___|_|
   
Signed in successfully - <skipped>.3months

Album 1 of 1:
Invalid URL: https://zvuk.com/track/57571043

so i'm happy token auth works, but something is wrong with request

from sberzvuk-downloader.

Related Issues (9)

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.