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 RYD and RYD Proxy support #3215
Add RYD and RYD Proxy support #3215
Conversation
Co-Authored-By: petaded <74797538+petaded@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested both local and Invidious
Official API = https://returnyoutubedislikeapi.com/Votes
(Will be modified on paste)
From https://returnyoutubedislikeapi.com/swagger/index.html and/or https://www.returnyoutubedislike.com/docs/fetching
Co-authored-by: absidue <48293849+absidue@users.noreply.github.com>
Co-authored-by: absidue <48293849+absidue@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested locally and it works
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because we are using a proxy i think its better to put it in the proxy tab instead of its own tab
You dont have to use the proxy though |
Doesnt that go against #1927 (comment)? |
It uses the proxy by default but allows people to change it to the official api if they want to 🙂 |
Sorry wasnt clear enough with that one. Based on #1927 (comment) i wouldnt feel comfortable to allow setting it to the official api. I would only allow setting it to other proxies if that is going to be a thing TeamPiped/RYD-Proxy#6 |
@efb4f5ff-1298-471a-8973-3d47447115dc I think allowing the user to set it to the official instance, is okay. The user has to make a conscious decision to use the official instance, so it's on them. Now that the code is already written, our only argument against it is "we don't think the official instance is trustworthy, so we are going to explicitly block it in FreeTube", which would be us preventing users from doing something trivial because of our personal opinions. I see it similarly to using a VPN, our docs clearly recommend using one, but the user is allowed to use the local API without a VPN if they want to. You have to remember that we have a wide variety of users using FreeTube, some with extreme threat models and others that just use FreeTube for the features (no ads is probably a big one) and don't really care about privacy. |
Hmmm we have "local API" which is connecting to YT directly right? Or displays a warning when official API is used? Discuss with @PrestonN ? |
Will be closing this PR until RYD is more open |
does someone maintain a fork for RYD functionality with latest releases? it's ridiculous to complain about RYD openness or lack thereof while pinging youtube servers for content. |
@jackloomen The RYD database needs to be public for running an alternative instance to be viable. SponsorBlock for example not only is fully open source but also provides regular database dumps. YouTube is the only exception, because this is literally a third-party YouTube client and we can't get around it without loosing functionality. |
I merged in the latest changes to my RYD branch. It's pretty light so it should be fairly straight forward to merge in more changes in the future if you or someone else would like to do that (I don't want to maintain the branch unless it's going into FreeTube). If you'd like to build the branch, you can follow this guide: https://docs.freetubeapp.io/development/building-from-source . If you'd like the RYD changes to be officially added into FreeTube, feel free to give a thumbs up reaction to the issue for open sourcing the backend and the issue providing data dumps in the return-youtube-dislike repo 😄 |
Couldn't this be made an option in the settings so you can turn it on or off depending on the user? I am privacy concerned but I also need the dislikes count. I don't think it'll be an issue for anyone if its toggle-able |
Add RYD and RYD Proxy support
Pull Request Type
Related issue
closes #1927
Credit to @petaded for #1982
Description
This PR adds support for the ReturnYouTubeDislikes api as well a RYD proxies
https://github.com/TeamPiped/RYD-Proxy
Testing
RYD Disabled - (Test with local and invidious)
RYD Enabled + using RYD-proxy - (Test with local and invidious)
RYD Enabled + using official API - (Test with local or invidious)
Desktop