imputnet / cobalt

save what you love
https://cobalt.tools
GNU Affero General Public License v3.0
10.33k stars 727 forks source link

[FIXED] YouTube is sometimes unreachable because of A/B testing of forced log in #551

Closed wukko closed 3 weeks ago

wukko commented 3 weeks ago

innertube returns "Sign in to confirm you’re not a bot. This helps protect our community. Learn more" instead of video info or regular errors.

cobalt may sometimes not be able to get the video, especially on larger instances (such as main one). if that happens, it'll show you an appropriate error that links to this issue:

image

related issue threads in repos of other projects:

FIXED: @dumbmoron implemented support for OAuth2! main instance (cobalt.tools) is back to being able to download youtube videos (so far).

if you host a cobalt instance, you can generate your own token by running npm run token:youtube in local cobalt repo folder. please don't use your personal google account. it might get banned, restricted, or rate limited.