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

[Enhancement] Rework the headers and parameters sent #3256

Closed
unixfox opened this issue Aug 8, 2022 · 4 comments
Closed

[Enhancement] Rework the headers and parameters sent #3256

unixfox opened this issue Aug 8, 2022 · 4 comments
Labels
enhancement Improvement of an existing feature

Comments

@unixfox
Copy link
Member

unixfox commented Aug 8, 2022

We should rework the headers and parameters that we send in https://github.com/iv-org/invidious/blob/master/src/invidious/yt_backend/connection_pool.cr#L9 because these were applicable to the old way for communicating with youtube servers.

Here are the parameters sent by newpipe and yt-dlp: https://gist.github.com/coletdjnz/cc0cbce42067b77c628d68c7b10a96c5

@unixfox unixfox added the enhancement Improvement of an existing feature label Aug 8, 2022
@unixfox unixfox changed the title [Enhancement] Rework the headers sent [Enhancement] Rework the headers and parameters sent Aug 9, 2022
@unixfox
Copy link
Member Author

unixfox commented Aug 25, 2022

Like found in #3230 (comment), we should send the correct user-agent or youtube will send us an error Content not available in this app. upgrade to latest version of youtube..


From Matrix: Make sure you send the same version as the one used in the body to prevent fingerprinting

@unixfox
Copy link
Member Author

unixfox commented Sep 17, 2022

Technically done in #3290 but @SamantazFox wants to do improve it: https://github.com/SamantazFox/invidious/tree/yt-api-improvements

@unixfox
Copy link
Member Author

unixfox commented Nov 1, 2024

Closing as the videos streams retrieval will be moved to invidious companion.

@unixfox unixfox closed this as completed Nov 1, 2024
@syeopite
Copy link
Member

syeopite commented Nov 2, 2024

Isn't this still applicable for the data that will be fetched by Invidious? Eg channel feeds

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvement of an existing feature
Projects
None yet
Development

No branches or pull requests

2 participants