Comments (3)
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.
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.
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)
- FileNotFoundError: ANSI64.dll HOT 4
- Releases area? HOT 3
- IndexError: List Index out of Range HOT 8
- Error executing the .exe and the script as well HOT 4
- JSON decode error deleting uploads HOT 15
- Authentication documentation returns 404, instructions missing HOT 1
- Security HOT 4
- Can't authenticate the application HOT 4
- Only first 100 tracks are being sorted HOT 1
- Broken list of artists as a result of delete HOT 2
- Add option to clear all listening history HOT 4
- Abort button doesn't do anything HOT 1
- Missing Metadata Error HOT 23
- `--add-to-library` or `-a` fails to find matching albums even without missing metadata
- Improve fuzzy matching when using `--add-to-library` HOT 3
- Delete duplicate songs in a playlist HOT 1
- Remove podcasts
- Process immediately finishes without removing anything HOT 9
- KeyError: 'fixedColumns' when using delete-uploads
- Error during "Delete uploads" when a song does not have a duration HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ytmusic-deleter.