ThioJoe / YT-Spammer-Purge

Allows you easily scan for and delete scam comments using several methods.
GNU General Public License v3.0
4.57k stars 389 forks source link

Handle the new YouTube handles #982

Closed Zachava96 closed 1 year ago

Zachava96 commented 1 year ago

Added a check for the YouTube handle system (e.g. @ThioJoe). Using unofficial yt.lemnoslife.com API; hopefully YouTube adds a way to officially search by handles in the API

Related Issue/Addition to code

Type of change

Proposed Changes

Why is this change needed?

The new YouTube handle system makes it difficult to get a direct channel ID or link that will work with the existing program. ### Checklist: - [x] My code follows the style guidelines of this project and I have read [CONTRIBUTING.md](/CONTRIBUTING.md) - [x] I have performed a self-review of my own code - [x] I have commented my code, particularly in hard-to-understand areas - [x] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [x] Any dependent changes have been merged and published in downstream modules - [x] I have checked my code and corrected any misspellings
ThioJoe commented 1 year ago

I'd really rather not pound this guy's site with requests. His API is open source so his method could be implemented in itself. But gonna close this implementation of it.