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

ReturnYouTubeDislike API: add field to indicate if likes are hidden by the video creator #871

Closed
LisoUseInAIKyrios opened this issue Feb 9, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@LisoUseInAIKyrios
Copy link

LisoUseInAIKyrios commented Feb 9, 2023

Request or suggest a new feature!

Since RYD does not support showing dislikes on videos with hidden likes, it puts the burden on the client to figure out if the RYD API data is valid or not.

For videos with hidden likes, RYD API always gives back data showing zero likes and dislikes.
example video
RYD API data for example video:

{
"id":"UnrU5vxCHxw",
"dateCreated":"2023-01-10T08:24:54.927168Z",
"likes":0,
"dislikes":0,
"rating":0,
"viewCount":91,
"deleted":false
}

That means for the client to validate the RYD data, it must also load the YouTube video and check if the video likes are hidden (ie: muck about with parsing the UI text strings)

Ways to implement this!

The RYD API should add a field to the data returned by Votes, to indicate if the video is hidden by the creator. Something like a boolean field called hiddenByCreator. The field can be updated periodically, and it does not need to guarantee it matches the current video status. It only needs to provide if the video likes were hidden the last time the RYD API checked.

@LisoUseInAIKyrios LisoUseInAIKyrios added the enhancement New feature or request label Feb 9, 2023
@LisoUseInAIKyrios
Copy link
Author

Since RYD now returns raw like and dislikes, this feature is still nice to have but no longer needed.

@LisoUseInAIKyrios LisoUseInAIKyrios closed this as not planned Won't fix, can't repro, duplicate, stale Aug 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant