Comments (4)
what error are you getting? is it being redirected to blocked.cobalt.tools?
from cobalt.
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.
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.
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](https://private-user-images.githubusercontent.com/71202418/344451936-683f8995-abe5-484f-bbe9-706bd57b1c52.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQwMDAwNzksIm5iZiI6MTcyMzk5OTc3OSwicGF0aCI6Ii83MTIwMjQxOC8zNDQ0NTE5MzYtNjgzZjg5OTUtYWJlNS00ODRmLWJiZTktNzA2YmQ1N2IxYzUyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MTglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODE4VDE2NDkzOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTM4Yzk2YjJmM2FjYzQ1YTE5M2NiOGU4ZjJkYTlkNjEzYjJlZjQ4M2EzMDUwOTJmMGNlMjU2ZTRjY2NiYTJkYzUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.1jzAfa_FH4NnP34mlWwILQVRmQPpi7dVjqCZgNzTfUc)
- you tried to obfuscate the old cobalt api endpoint to hide the fact that you're using it:
![image](https://private-user-images.githubusercontent.com/71202418/344450893-d58274b5-057c-4641-ad51-0499a3e83a45.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQwMDAwNzksIm5iZiI6MTcyMzk5OTc3OSwicGF0aCI6Ii83MTIwMjQxOC8zNDQ0NTA4OTMtZDU4Mjc0YjUtMDU3Yy00NjQxLWFkNTEtMDQ5OWEzZTgzYTQ1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MTglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODE4VDE2NDkzOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTIwYWE4MWE0OWE1N2VjYzIxYjNhMGM2MGMxOTBkM2IwODFhNDk2ZmRlNzAzNDY5N2IwYTk0N2VmMTA0ZTcwOWUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.dDbUE5GdfuVeH6EFqM5Ae_hUQpVSYIIrxkbR3XFmnuA)
![image](https://private-user-images.githubusercontent.com/71202418/344450898-f48df859-0dfc-45a8-b1d9-e89b38da252e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQwMDAwNzksIm5iZiI6MTcyMzk5OTc3OSwicGF0aCI6Ii83MTIwMjQxOC8zNDQ0NTA4OTgtZjQ4ZGY4NTktMGRmYy00NWE4LWIxZDktZTg5YjM4ZGEyNTJlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MTglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODE4VDE2NDkzOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTU2MGY1NzdiYmI0OTgzYjRkMTJhNDA4NTE5ZDExYzgyYzI4MDRhNjdhMDk4OWY5YjZkYTU1YmUzMDNlZTM5NzgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.8O2SzlkEyc_VmQGI0GfDJ_S1yj1fZR5Ze7qwthAW_9o)
- 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](https://private-user-images.githubusercontent.com/71202418/344451232-d921bf3b-85f9-4ad0-b007-a5e826489b45.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQwMDAwNzksIm5iZiI6MTcyMzk5OTc3OSwicGF0aCI6Ii83MTIwMjQxOC8zNDQ0NTEyMzItZDkyMWJmM2ItODVmOS00YWQwLWIwMDctYTVlODI2NDg5YjQ1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MTglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODE4VDE2NDkzOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTE0ZThhZWI3YTk1NzBiZTdhN2FlZmY5NDZmM2UzZjNiNjc1ZTIzYjM1NzVjNTZlNjY3ZjM5ZTE2MDJjNmI1ODMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.J5fkHzn6WHYk7GNdgdXxhqRCDbcXyweuXgGb6ET5nT8)
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)
- add support for weibo
- "this youtube video is unavailable" Why? HOT 1
- Add "Approximate Filesize" or "Filesize" if possible in the API. HOT 1
- youtube playlist won't download HOT 3
- Entire Youtube Video not downloading HOT 2
- PHP Library for Cobalt API HOT 7
- package.json links a git:// dependency that can't be used without authentication HOT 3
- add support for [Redbull.com]
- add support for downloading youtube community posts
- Embed into supported websites for quick downloading HOT 2
- bilibili is not working HOT 1
- bilibili is not working HOT 6
- Cookies & oAuth Error HOT 13
- twitter age restricted video test fails because account is private HOT 1
- cookie.json is not working HOT 3
- Resolving YouTube Video Download Errors in Cobalt: Account Cookie Required? HOT 4
- How to save to disk without streaming. HOT 1
- Getting 403 when downloading video using python HOT 1
- Help How to generate cookie.json file for youtube? HOT 2
- Unknown shortcut doesnโt work due to outdated API 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 cobalt.