r/dankmemes Jan 15 '22 Silver 65 Helpful 61 Wholesome 71 All-Seeing Upvote 1 Evil Cackle 1 Mod's Choice 1

Now touch both exposed proms with a pair of scissors it's pronounced gif

96.2k Upvotes

View all comments

Show parent comments

56

u/newtelegraphwhodis Jan 15 '22

how does this work?

153

u/cantileverboom Jan 15 '22 edited Jan 15 '22

The API to obtain the dislike count still works, so the plugin calls the API and inserts the dislike count itself.

If YouTube ever removes the API, then there won't really be a way to obtain the dislike count.

(if anyone is unfamiliar with APIs, the Wikipedia page has a decent amount of info on them)

edit: seems like the API doesn't apply for new videos, and bases it off of user data from the extension. Thanks for the info fellow redditors

10

u/FyniteTheRedditor Jan 15 '22

It no longer relies on the API for newer videos since YT removed the option there as well. It guesses based on the plugin users' behavior. Linus tech tips has a great video explaining it. Watch it if you're interested.

1

u/cantileverboom Jan 15 '22

ah, good to know