ForrestKnight / yt-dislikes

Add the dislike count back to my YouTube videos via a comment containing that information.
https://youtu.be/1uAH93tzfQY
MIT License
155 stars 13 forks source link

Can unintentionally overwrite your other comments based on the SEARCH_TERMS #4

Open ForrestKnight opened 2 years ago

ForrestKnight commented 2 years ago

This will not be worked on because each individual's search terms will be different. I only created this issue to inform everyone of this bug. However, once I have more information on how to avoid this, I'll draw out some guidelines.

joeyshi12 commented 2 years ago

Saw someone suggest the idea of updating the video description rather than searching for the comment that matches the SEARCH_TERMS. We could append a small stats comment at the top of descriptions making it look it:

14k 👍 1.5k 👎
=============
I'm not a fan of YouTube removing the dislike count from all videos, so I decided to put the discount like back on my own channel with a little bit of code.

Message to YouTube: I did all of this using your APIs and your documentation, so please don't ban me. Lol thanks.

And split by the first instance of ============= when we want to update only the stats portion

ForrestKnight commented 2 years ago

I fixed the SEARCH_TERMS issue, at least for myself. I don't want to go the description route considering most people don't read the description. And I'd have to put it at the bottom since I have obligations to put sponsored links at the top. Also, the video gets re-indexed every time the description changes. Not sure what this effects, but could hinder SEO. I'm also too scared to overwrite my descriptions lol.

KendallDoesCoding commented 2 years ago

This will not be worked on because each individual's search terms will be different. I only created this issue to inform everyone of this bug. However, once I have more information on how to avoid this, I'll draw out some guidelines.

I suggest you pin this issue then