Comments (6)
I think this is actually a bigger change than the redirect. It appears that there are further changes, and a possible introduction of a CSRF Token that stops the tracklist working.
I'll continue to investigate and try to get this fixed. I'm confident it's fixable, but I just need to work out what to change in the request.
from mixcloud-tracklist.
from mixcloud-tracklist.
Yeah this is a change by Mixcloud. I'm just investigating their APIs and considering how it's changed compared to how it used to behave. These are internal APIs used by Mixcloud so I doubt we'd find any public documentation about it.
from mixcloud-tracklist.
I've now proven that all I need to do is send the cookies with the request to the API. It's absolutely possible to do it, but I'll try a few different ideas before complicating the extension with an event/background script.
from mixcloud-tracklist.
from mixcloud-tracklist.
@zygisber I've used fetch
rather than the request
library to send the requests now. This way the browser can slurp up the cookies and send them without much intervention.
If that hadn't have worked, I'd have had to go down the route of using chrome.cookies
in a background script and sending messages to the content script (where the extension runs). Fortunately I don't have to do any of that 🎉
from mixcloud-tracklist.
Related Issues (20)
- Extension appears to be corrupted on Firefox HOT 15
- Tracklist longer than drop-down pane does display entire tracklist. HOT 2
- Support the new site (currently in Beta)
- Large margin above tracklist HOT 2
- Carry out some user testing before releasing a stable version HOT 1
- Broken tracklist on the new website
- Reduce filesize
- Fix Tampermonkey update URL
- Tracklist always shown
- Tracklist never shown HOT 1
- Drop support for the old website (legacy) HOT 1
- Tracklist not shown in Chrome HOT 2
- Tracklist is not displayed HOT 3
- Code cleanup/refactor
- Mixcloud refactored to React over Angular HOT 2
- New Mixcloud API HOT 5
- seems this no longer works? HOT 1
- I get this issue when trying to load the tracklist... HOT 1
- Unable to see track list HOT 2
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 mixcloud-tracklist.