GithubHelp home page GithubHelp logo

Comments (3)

apastel avatar apastel commented on June 18, 2024

I'm not sure what you're trying to do here. I am not the author of ytmusicapi. I am the author of this repo that you're commenting on, ytmusic-deleter. If you need help with ytmusic-deleter, I can help you with that. If you need help writing your own python code with ytmusicapi, I would open an issue on that repository instead: https://github.com/sigma67/ytmusicapi

from ytmusic-deleter.

MisesEnForce avatar MisesEnForce commented on June 18, 2024

I am trying to use ytmusic-deleter. I can't figure out which bit of the post request I should post when the command line requires it. I tried a lot of bits, without success. In your https://github.com/apastel/ytmusic-deleter, 4., you point to the "authenticated request" part of the [https://ytmusicapi.readthedocs.io/en/latest/setup.html](ytmusicapi doc) ; there I tried what has to be done for chrome and for firefox, without success (for instance their "copy everything starting from “accept: /” to the end of the section"). As your command line requires that bit from the post request, and as you point to their doc I followed without success, and I you can make work your own command, I would like an example of the post request bit your comand requires. I hope it is cleear now.

from ytmusic-deleter.

apastel avatar apastel commented on June 18, 2024

The easiest way to copy the request headers is to use Firefox. As the ytmusicapi docs state, there is a button you can click that will automatically copy the part of the request headers that you need. You don't need to figure out which part of the request to copy if you just use that button.

  • Copy the request headers (right click > copy > copy request headers)

Again, if you click that copy request headers button in the right-click context menu, that will automatically copy the request headers to your clipboard. From there, just paste that into the command window. Then (if you're on Windows), press Enter to add a line break, then Ctrl+Z, then Enter again.

In your first message I saw you were creating a Python file called test.py. You do not need to write any Python code to use ytmusic-deleter. Maybe you were reading too far in the ytmusicapi docs and you started following the "Using the headers in your project" section. You do not need to follow that section. ytmusic-deleter IS the project and I have already written the code :)

from ytmusic-deleter.

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.