Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Proof of Origin Token in downloader Innertube instance #2863

Closed
wants to merge 2 commits into from

Conversation

franz-dc
Copy link
Contributor

Fixes #2780

This fixes non 2xx (304) errors in YouTube.js caused by BotGuard.

Added dependency bgutils-js, which is required for generating PO Tokens.

@ImaDoor2785
Copy link

works consistently for me 👍

@JellyBrick JellyBrick added the bug Something isn't working label Jan 16, 2025
@arzezio7
Copy link

How to apply this fix? I am currently stuck.

@franz-dc
Copy link
Contributor Author

How to apply this fix? I am currently stuck.

Clone my fork then run these commands for testing:

git checkout fix/downloader-po-token
pnpm install --frozen-lockfile
pnpm dev

@keyboardfann
Copy link

^^^ it works.

@keyboardfann
Copy link

@franz-dc It seems download feature fail again in few days.

@franz-dc
Copy link
Contributor Author

franz-dc commented Feb 4, 2025

@franz-dc It seems download feature fail again in few days.

There seems to a be a checker for YouTube Premium that works the opposite of what it should do.

Can you try if the fix works (by running git pull then pnpm dev)?

@keyboardfann
Copy link

@franz-dc awesome, pull the latest code and works fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Downloading plugin not working
5 participants