Code Monkey home page Code Monkey logo

Comments (4)

lostdusty avatar lostdusty commented on August 19, 2024

what error are you getting? is it being redirected to blocked.cobalt.tools?

from cobalt.

goodtube4u avatar goodtube4u commented on August 19, 2024

Hey thanks for the reply.

Uh yep, that's being returned when I direct a user to the stream URL that the API returns.

Was working fine, then suddenly this problem so I don't think it's my implementation.

Do you think the issue is that requests originating from youtube.com are being blocked by the API / CORS headers or similar?

from cobalt.

goodtube4u avatar goodtube4u commented on August 19, 2024

Further on this, I get the stream URL back from the following endpoint:
https://api.cobalt.tools/api/json/

However, from there I try to open it for the user using:
window.open('THE STREAM URL THAT WAS RETURNED', '_self');

That redirects the user to blocked.cobalt.tools

Other times in the script, I also try to fetch the source of the stream URL using Javascript's fetch API (in order to put it in a blob object so I can then rename it for them before downloading it). This is also failing.

Any ideas?

from cobalt.

wukko avatar wukko commented on August 19, 2024

we've blocked access to our api from your extension because we don't agree with your ethics:

  • you mislead users to believe that you block ads, when in reality you swap out the player for invidious one.
  • you use invidious instances without mentioning them (or even the fact that you use them at all) anywhere:
image image image
  • you've lied in this issue about using the new api endpoint.
  • you're now calling your users to "send angry messages" to us:
image

we will not unblock your extension, but you can host a cobalt instance yourself and use it instead. you have to mention that you rely on cobalt and invidious with links to respective github repos.

we reserve full rights to take any actions needed to stop unfair use of our free api.

i have archived the user script with obfuscation of our old api endpoint & call for your users to send us "angry messages": https://web.archive.org/web/20240630075645/https://github.com/goodtube4u/goodtube/raw/main/goodtube.user.js

from cobalt.

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.